Archived topic
Slider on blog page
8 replies · Started by Adrian Cojocariu on January 17, 2016
Hey Tom, I'd really like to make the Homepage the blog posts page, but I want a separate window with a slider ( or maybe any other code ) just above the posts but between the sidebars ( I have them on both sides ) do you think that is possible ?
Hi Adrian,
You can try using this code: https://generatepress.com/forums/topic/the-changes-are-not-displayed/#post-161128
Just replace the HTML in there with your slider.
Let me know :)
Works like a charm man, thanks.
One more little thingy, there are only two articles on the blogpage, and the right sidebar is longer, it overlaps on the footer, you can check out the link.
Any solution for it ? I tried searching the forums, can't reach a similar post sorry :(
NOTE: Changing to one container fixed the problem, but creates another 2 huge ones, first is that it doesn't unify them into 1 container, and 2nd is it looks like this ...
http://postimg.org/image/lsxm1amyf/
(I'll have more articles on soon but... I'll make a floating sidebar and I don't want it to overlap the footer when it reaches the end...)
You can add some spacing below that last widget like this:
.separate-containers .widget:last-child {
margin-bottom: 20px;
}
Let me know :)
:) Perfect ! I thought it was a little more complicated lol.
I still don't get it why the one container bugs out, it used to work just fine when I first installed. Must be some plugin.
Thx man
The one container thing is definitely strange - I would have to see it in action to see what was going on.
It also happens for me on other blogs. I updated the theme and GP premium. I'll send you login details on FB
Ah nvm man don't bother. I just set up some transparent background for the content and sidebar containers, and the whole content area background color was set to false in the personalizer. The one container removes the margins i guess, it looks just fine on a fresh instal.
Cool, glad it's nothing in the theme :)
