Archived topic
fluid only at home
5 replies · Started by Raul on May 31, 2016
How could make only the cover (or another specific page) outside the container with fluid width wider and borderless for content?
http://pre.thermorecetascocina.es/
The idea is to create landing page.
Thank you!
Hi there,
Do you have our Simple CSS plugin?: https://wordpress.org/plugins/simple-css/
If so, you can make the content area full width by editing that specific page and adding this into the Simple CSS metabox:
.container.grid-container {
max-width: 100%;
}
Let me know if you need more info :)
Completed with
.container.grid-container {
max-width: 90%;
}
.inside-article, .comments-area, .inside-right-sidebar .widget {
box-shadow: 0 0px 0px rgba(0,0,0,.26);
border-radius: 0px;
}
body {
background-color: #fff;
}
I liked simple css, custom css per page :)
Do you know something like "simple js" with option to attach js at head or body bottom?
Thanks!
I don't know if that exists, worth searching for though.
You can use GP Hooks and the wp_footer hook to add JS, but that adds it to all pages unless you use a PHP conditional.
to see thoroughly, the hooks and filters
Many thanks!
You can see available hooks and filters in the theme here:
https://generatepress.com/knowledgebase/hook-list/
https://generatepress.com/knowledgebase/filter-list/
Then the GP Hooks add-on allows you to plug in to the main ones inside the Dashboard :)
