Adding the Custom CSS codes to the main CSS

Posted in: Newspaper
Post count: 101

Hello Tagdiv team,

I want to add my custom CSS to the main CSS. The custom CSS content is taking a long time to load and my contents looks good with the Custom CSS only. Is it possible to add the custom CSS into the main CSS. I tried, adding the CSS to the main CSS in the editor. But they didn’t work. Check http://www.getcooltricks.com .
Thanks in Advance.

Post count: 22421

Hi,
This effect is usually due to either slow internet connection or using the speedbooster plugin which moves the css render block to the footer and gets loaded last to increase page speed.
You can try to edit the style.css directly to avoid rewriting it with custom css from the theme panel. Unfortunately this is the way css works, in cascades.
Thank you!

Post count: 101

I tried adding the CSS to the main style.css file but it didn’t worked. I just want to add a piece of CSS that loads with the main css.
Thanks for the reply.

Post count: 22421

Hello,
You need to edit the css not add it to the bottom of the file. If you do that, the result will be the same. Find the css that applies to the element class you wish to change and edit the parameters.
Unfortunately the downside of this is that in a future update you will lose your modification as the style.css will get replaced.
Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.