Site logo

[Resolved] Sections and the Jetpack CDN

Home Forums Support [Resolved] Sections and the Jetpack CDN

Home Forums Support Sections and the Jetpack CDN

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #285004
    Eric

    Hello,

    I’m using a slider (WP1 Slider) that works quite well.
    I wish to use it full width, but haven’t managed yet.

    I. If I’m using the heading section to add it to my homepage, the slider works fine but is not full width.

    II. If I’m hiding the heading section and using a new Section, then it’s perfectly 100% width, but the url of the images are changed :
    from <img src="http://quatrepiliers.com/wordpress/wp-content/uploads/2017/02/1920x822corpsvivantcorpspensantl.jpg?w=2000" height="541" width="1263">
    to <img src="https://i1.wp.com/quatrepiliers.com/wordpress/wp-content/uploads/2017/02/1920x822corpsvivantcorpspensantl.jpg?w=2000" height="541" width="1263">
    and the images are broken

    Can you please help me fix this,

    Thanks in advance,

    Véronique

    #285005
    Eric

    I deactivated Jetpack and it’s fine again.
    OK. Though, I might need Jetpack…
    So, do you think there’s something you can do?
    V

    #285069
    Leo
    Staff
    Customer Support

    Hi there,

    So Jetpack changes URL? That sounds a bit strange.

    Was your first method using the Page Header add-on?
    https://docs.generatepress.com/article/page-header-overview/
    Set the Container type to Full width then you should see a Fullscreen option.
    https://docs.generatepress.com/article/page-header-content/

    Let me know if this works 🙂

    #285081
    Eric

    The first method was with the Customizer.

    I did try using the Page Header add-on. Container type: Full width + Fullscreen + Page builder interation : Full Width Content
    It did not go well. (http://quatrepiliers.com/wordpress/ )

    It’s only when I’m using a Section that I can override the layout container width (977px)
    (Content Layout : One Container)

    #285101
    Leo
    Staff
    Customer Support

    Let’s try other method using GP hooks:
    https://docs.generatepress.com/article/hooks-overview/
    http://demo.generatepress.com/hook-locations/

    So in Appearance > GP Hooks > After Header, try something like this:

    <?php if ( is_front_page() ) : ?>
        Slider here
    <?php endif; ?>

    Make sure Execute PHP is checked.

    Let me know 🙂

    #285110
    Tom
    Lead Developer
    Lead Developer

    If you need Jetpack activated, you might need to deactivate the Photon module within it to stop the URL from changing I believe.

    #285129
    Eric

    OK, the hook method works well, and the images did not disappear when I re-activated Jetpack (though the logo did !!!!)

    So, I think I’ll do what you suggested : deactivate photon.

    Thanks a lot !

    #285139
    Leo
    Staff
    Customer Support

    Glad we could help 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.