Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Center text in card-header

More
1 week 5 days ago #6136 by dfofanoff
Center text in card-header was created 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.

Please Log in or Create an account to join the conversation.

More
1 week 4 days 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.

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #6138 by dfofanoff
Replied by dfofanoff on topic Center text in card-header
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.

Please Log in or Create an account to join the conversation.

More
1 week 4 days 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.

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #6140 by dfofanoff
Replied by dfofanoff on topic Center text in card-header
Ok, I'll see what I can do. Thanks for the help!

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #6141 by syw
Replied by syw on topic Center text in card-header
You are welcome!

Olivier.

Please Log in or Create an account to join the conversation.