Pavel Němec
Pavel Němec

Reputation: 272

Where could be inline-css in Wordpress

I am working on this webpage:http://hypoinvest.sk/ which runs on Wordpress with this theme If you check source code you can see a lot of inline-css and I want to know in which files are actually defined. Only thing what I know about it they are called by function wp_head() in header.php. I have local copy of all files on this web and I can't find any mention about some of that css rules through unix grep. Anyone suspect where these css rules could be located?

check site and let me know.

Upvotes: 0

Views: 1087

Answers (2)

anastymous
anastymous

Reputation: 487

Run a search in the source code for

style-inline

As this appears to be the 'handle' designated as the first variable in the function wp_add_inline_style. The "-css" is added automatically. You'll see this on line 79 of the page source.

https://codex.wordpress.org/Function_Reference/wp_add_inline_style

Upvotes: 1

Tushal Bhanderi
Tushal Bhanderi

Reputation: 128

You want to check your page back-end site where you put content , I think are you using any compose or editor to create page on edit page.

check it edit option it has some inline css.

Upvotes: 1

Related Questions