Why is the custom CSS fired into inline-css and not an .css file instead? See print
Hi There,
Thanks for writing in!
Unfortunately, this is the feature of inline custom CSS. It added to that specific page where custom CSS is used.
Please let us know if you have any specific issue regarding the CSS so that we can help.
Thanks
Ok so when I use it per page it’s inline but when I use the global css? Still going to be inlined? If I want it to not be inlined, solution?
HI there,
You can install the child theme and place the CSS codes in the style.css file.
Hope this helps.
Have child. Ok thanks for the information!
You’re most welcome.
That did not work. Moved all CSS from global to style.css in child and it did not apply. Anything we are missing here?
Hi there,
There are instances that when you add some new codes in the style.css, they would not take effect because the site is still using a cached version of the style.css file.
Try clearing your site and browser’s cache after updating the style.css file.
Tried and did not work on the site I tried. Also added it to the parent style.css without success.
Answer: Yes but if I remove from global css in wordpress and add ito in style.css it should work, right?
Hi there,
Inline CSS are for style (style=""
) attribute of an element, perhaps you’re referring to on page CSS (<style></style>
). And it’s always going to be there. CSS added to style.css
will only take effect on your newly added CSS on that file. Other existing CSS, especially from core CSS, are always be like that.
Thanks!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.