Archived topic
Sections and the Jetpack CDN
7 replies · Started by Eric on February 28, 2017
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
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
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 :)
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)
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 :)
If you need Jetpack activated, you might need to deactivate the Photon module within it to stop the URL from changing I believe.
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 !
Glad we could help :)