protostar template is ignoring user.css Topic is solved

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
fabiolazio
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Jan 07, 2010 2:25 pm

protostar template is ignoring user.css

Post by fabiolazio » Wed Sep 19, 2018 6:58 pm

Hi,
I tried following https://extensions.joomla.org/blog/item ... -template/ in order to customize some css definitions.... But whatever I do looks to be totaly ignored by the protostar template
Any idea?
Thanks in advance

User avatar
effrit
Joomla! Guru
Joomla! Guru
Posts: 846
Joined: Sun Nov 12, 2017 2:21 pm
Location: middle of Russia
Contact:

Re: protostar template is ignoring user.css

Post by effrit » Wed Sep 19, 2018 7:08 pm

hi
which version of Joomla u use?
this not working on old versions.
also u can try add !important to rules to make sure they will have highest priority.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 36141
Joined: Sat Apr 05, 2008 9:58 pm

Re: protostar template is ignoring user.css

Post by Webdongle » Wed Sep 19, 2018 10:52 pm

If the same css class (or id) is in the index.php file then it will override the css file (unless the code in the css file has an important exclamation mark).
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

fabiolazio
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Jan 07, 2010 2:25 pm

Re: protostar template is ignoring user.css

Post by fabiolazio » Thu Sep 20, 2018 9:30 pm

effrit wrote:
Wed Sep 19, 2018 7:08 pm
hi
which version of Joomla u use?
this not working on old versions.
also u can try add !important to rules to make sure they will have highest priority.
jooml is 3.8.11 so quite recent indeed

I'll try with the "1" as u say

fabiolazio
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Jan 07, 2010 2:25 pm

Re: protostar template is ignoring user.css

Post by fabiolazio » Thu Sep 20, 2018 9:41 pm

!important actually worked

thanks!


Post Reply

Return to “Templates for Joomla! 3.x”