CSS for category view not applying

More
4 years 7 months ago - 4 years 7 months ago #78686 by smilecollector
Hello
This weekend I tried to add CSS to a category view (template grid) by adding to less/ category.less but it's not applied to the category view on frontend.

test.smilecollector.photos/fr/photos/dance

Any idea why? Am I supposed to add this CSS somewhere else? or it's not working for category view?

Thanks in advance

Attachments:
Last edit: 4 years 7 months ago by ggppdk.

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

More
4 years 7 months ago - 4 years 7 months ago #78687 by micker
hello css are generate on the fly please add your css code in category.less

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]
Last edit: 4 years 7 months ago by ggppdk.

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

More
4 years 7 months ago - 4 years 7 months ago #78690 by smilecollector
as you can see above, I did but it's not applied...
Last edit: 4 years 7 months ago by ggppdk.

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

More
4 years 7 months ago - 4 years 7 months ago #78691 by ggppdk
Hello

if it is not applied then you need to look at 4 cases

1- either you have a syntax error
(but if you have you will see a compile error message)

do a hard refresh in your browser and in browser console, open the category.css to see if it was updated to contain your rule

2- or there is more strict rule that takes priority over your code, (you can check this in firefox and mozilla CSS inspectors)

3- you have a matching error, e.g. you miss-spelled some class name, or forget a dot . , or forgot # or add a . by mistake etc

4- or your made an error in the CSS style, e.g. you wrote
fotn-size: 14px;
instead of font-size: 14px;


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 4 years 7 months ago by ggppdk.

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

More
4 years 7 months ago - 4 years 7 months ago #78692 by smilecollector
the code is OK when applying in inspector-stylesheet...

anyway, I will continue to look after a code overriding it...

thanks
Last edit: 4 years 7 months ago by ggppdk.

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

More
4 years 7 months ago - 4 years 7 months ago #78693 by ggppdk
Hello

i have had problems similar problem many times

it was always one of the above

and usually it was either case 3 or case 4 (case 1 and case 2 were easy / quick to find)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 4 years 7 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.337 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline