This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Siteorigin doesn’t generate inline CSS outside a page or a post

7 years ago · Last reply by Alex S 7 years ago

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

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Alex S Staff 7 years, 10 months ago

    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?

  2. CHANGUEL Sami 7 years, 10 months ago

    I can’t add a reply !

  3. Alex S Staff 7 years, 10 months ago

    Hi CHANGUEL,

    You seem to have been able to reply without issue. Can you please try replying again?

  4. CHANGUEL Sami 7 years, 10 months ago

    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 :
    Page design

    This is the home page, where the result is not good :
    Home page NOT ok

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

    Regards.

  5. Alex S Staff 7 years, 9 months ago

    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?

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread