- This topic has 30 replies, 3 voices, and was last updated 7 years, 1 month ago by
Tom.
-
AuthorPosts
-
February 6, 2015 at 11:09 pm #73139
Tom
Lead DeveloperLead DeveloperYou’re welcome!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 22, 2015 at 1:37 pm #78519Mark
Hi Tom,
I’m trying to get this plugin to stretch to the full width of the site (not just the content container) but can’t seem to do it…
I’m using this code in the content section of the Page Header:
<?php
echo do_shortcode(“[metaslider id=95]”);
?>But it’s still fitting the slider to the content width instead… What am I doing wrong?
Thanks,
Mark
February 23, 2015 at 12:19 am #78741Tom
Lead DeveloperLead DeveloperHi Mark,
I have to add an option to the Page Header that allows you to choose full width/contained with regular content.
Which page are you adding this to? Mind linking me to it? I should be able to provide some simple CSS to get the job done.
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 23, 2015 at 10:04 am #79117Mark
Hi Tom,
Yep, no problem. Site is: http://www.flintmarketing.co
It’s only the homepage that I want the slider on, hence why I tried to go through Page Header rather than the Hooks.
Thanks,
Mark
February 23, 2015 at 10:39 am #79132Tom
Lead DeveloperLead DeveloperIn that case, this CSS should do the trick:
.home .inside-page-header-container.grid-container.grid-parent { max-width: 100%; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 23, 2015 at 12:10 pm #79188Mark Flint
Thanks. Whereabouts do I add the Metaslider shortcode though?
February 23, 2015 at 12:18 pm #79189Mark Flint
Sorted it! Seems to be working perfectly.
Spot on, thanks for the advice Tom!
Mark
February 23, 2015 at 7:06 pm #79286Tom
Lead DeveloperLead DeveloperYou’re welcome! π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 3, 2015 at 12:21 pm #82240Faisal Abbas
how to remove top margin from slider.. help plz :'(
March 8, 2015 at 12:25 pm #84064Tom
Lead DeveloperLead DeveloperCan you link me to the page so I can give you some CSS?
Thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 5, 2015 at 9:55 am #95754Austin
Hi, I am also using MetaSlider in GeneratePress and hoping to get my slide show to fill the content space end to end, and butt up against the bottom of the navigation bar (so no white border). I still want the content below to have a padding I can customize. I have followed this whole thread but I can’t seem to solve it, dang!
sequimfoodbank.org
Thanks!
April 5, 2015 at 11:58 pm #95912Tom
Lead DeveloperLead DeveloperHi there,
Have you tried removing the top padding from the content area using the Spacing add-on? Doing so will remove that white space.
To do it only on your homepage, you can use this CSS:
.home.one-container .site-content { padding-top: 0; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 6, 2015 at 6:38 pm #96234Austin
Tom,
Thank you, that worked out.
However the side white borders are still there. Do you think you can help me get the edges of the MetaSlider the full width of the window? For example: the metaslider on the home page of http://www.flintmarketing.co ?
April 6, 2015 at 11:35 pm #96253Tom
Lead DeveloperLead DeveloperAh, does Meta Slider have a force full width option?
If not, you would have to use the Page Header add-on.
Add your shortcode in the Page Header content section, and then set the container type to “Fluid”.
Let me know if that does the trick π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 8, 2015 at 6:28 pm #96749Austin
I was able to get close to what I want. Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.