Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Center text in card-header

More
IP: 65.61.116.105 1 year 7 months ago #6136 by dfofanoff
Hello,
First time user. I'm sure there is an easy coding fix for this, but I'm having trouble locating the .CSS line to center the Title text in the Latest News Enhanced module for Joomla 4 / 5. Here is what shows in the page inspection:<div class="sidebar-left card "> <h3 class="card-header ">Latest News!</h3>
I'm using the default Cassiopeia template.
Any help would be greatly appreciated.
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 2600:1017:a410:8dc6:2c6b:c01b:b37e:90bf 1 year 7 months ago #6137 by syw
Replied by syw on topic Center text in card-header
Hello!

This part of the module is handled by the template so you are looking into modifying Cassiopeia's CSS, not Latest News Enhanced.
Some module settings are related to the module's container (the 'module' section of the 'advanced' tab).

Olivier.
More
IP: 65.61.116.105 1 year 7 months ago #6138 by dfofanoff
Thanks Olivier - you wouldn't happen to know where in the template.css files that parameter is located? I've tried a couple of places I "thought" were the correct ones, but no dice so far.
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 2600:1017:a410:8dc6:2c6b:c01b:b37e:90bf 1 year 7 months ago #6139 by syw
Replied by syw on topic Center text in card-header
You don't need to locate it, you need to add CSS to the user.css file. If you don't have any, you need to create it.

The file should be located in
/media/templates/site/cassiopeia/css

If you change any other file, it will probably be removed on the next Joomla update.

Olivier.
More
IP: 65.61.116.105 1 year 7 months ago #6140 by dfofanoff
Ok, I'll see what I can do. Thanks for the help!
  • syw
  • syw's Avatar
  • Administrator
  • Administrator
More
IP: 2600:1017:a410:8dc6:2c6b:c01b:b37e:90bf 1 year 7 months ago #6141 by syw
Replied by syw on topic Center text in card-header
You are welcome!

Olivier.