Instead of adding your snippet to the \'Custom CSS Code\' editor under Salient/General Settings. Try adding it directly to the page instead (See attached screenshot). Placing your code here will override any pre-existing Salient CSS.
You would lose that css if you update the plugin .Always add into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box).
That is Alex\'s issue though... Adding his snippet to the Custom CSS Code box does not override the Salient code for that particular font-size due to the use of !important.
Adding the snippet directly to the page via the Visual Composer DOES override the Salient code successfully.
I have had to employ this method due to the use of a very large font-size for #page-header-bg.fullscreen-header.span_6h1 on my homepage. 85px to be exact. The dynamic ratio applied to the font when scaled down for mobile does not render the font small enough to fit into the screen width.
Can you be more specific about which plugin update would delete the CSS? Salient? VC? I would assume that the only possibility of losing your code would be if you deleted the page?
I just posted this in a comment on the theme page, so please disregard that.
I’m trying to set the text in the Page Header to be bigger on smaller devices using the following CSS snippet:
... But it’s being overridden by another pre-existing bit of CSS:
Am I doing something wrong here?
Hey ,
Could you provide the page url so we can have a look.
Thanks
ThemeNectar Support Team
Hi Alex,
Instead of adding your snippet to the \'Custom CSS Code\' editor under Salient/General Settings. Try adding it directly to the page instead (See attached screenshot). Placing your code here will override any pre-existing Salient CSS.
cheers,
Adam
Hey Adam,
You would lose that css if you update the plugin .Always add into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box).
Thanks
ThemeNectar Support Team
Hi Tahir,
That is Alex\'s issue though... Adding his snippet to the Custom CSS Code box does not override the Salient code for that particular font-size due to the use of !important.
Adding the snippet directly to the page via the Visual Composer DOES override the Salient code successfully.
I have had to employ this method due to the use of a very large font-size for #page-header-bg.fullscreen-header .span_6 h1 on my homepage. 85px to be exact. The dynamic ratio applied to the font when scaled down for mobile does not render the font small enough to fit into the screen width.
Can you be more specific about which plugin update would delete the CSS? Salient? VC? I would assume that the only possibility of losing your code would be if you deleted the page?
Cheers
Thanks Adam, Tahir
Tahir actually answered this query on a question I left on the product page. I simply used the CSS below and it worked a treat!