Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi,
I’m developing a one page template, I have a single file index.php and it retrieves data (using wp_post) from several pages I’v created using siteorigin builder.
The problem is when page content is displayed inside the home page, its inline CSS is not generated, i.e. with this URLs : http://127.0.0.1/wp/ there is no inline CSS, but in http://127.0.0.1/wp/some-page the inline CSS is here (knowing the two URLs are showing the same thing)
How can I generate inline CSS outside the page URL ?
Regards
Hi CHANGUEL,
Just to confirm, are you including wp_head() and wp_footer()? If not, those are required and must be used.
If you are, would it be possible for you to send me a copy of your template so I can look over it and run some tests?
I can’t add a reply !
Hi CHANGUEL,
You seem to have been able to reply without issue. Can you please try replying again?
Hi,
Thank you for responding.
Yes I do include wp_head() and wp_footer(), this is my template code :
https://justpaste.it/544km
This is the content designed with the page builder :

This is the home page, where the result is not good :

And this is the same page but with different URL (the page’s URL):

Regards.
Hi Sami,
Thanks. The provided code and outlined setup should work without issue. Would it be possible for you to provide us with a full copy of your theme so we can run some tests against it?