Archived topic
Slider!
9 replies · Started by Anonymous on July 18, 2015
Here is the picture.
Do you have the Disable Elements add-on.
If so, you can choose to hide your title using that metabox.
Then, wrap your slider in this HTML class:
<div class="ignore-xy-spacing">
Slider in here
</div>
Thanks Tom
I have bought the GP Package and im satisfied :).
Can i make it 2-5px smaller than the container to?
Have a nice day :)
In that case, you would have to change the class to something custom, for example: reduce-spacing
Then add this CSS:
.reduce-spacing {
margin: -38px -38px 1em -38px;
}
Would would change the -38px values to whatever value is 2-5px smaller than your set content padding :)
I want to use it without the plugin, because my homepage is a bit slow now. I want to reduce the amount of plugin's im using wooocommerce shop.
So the code I provided is working as it should? :)
Yes, but it doesnt work without the plugin, can you run it without?
Smeko
That class is built right into GP, so it doesn't require any other plugins to work.
It does however expect the only spacing to be the content spacing, so if that page builder is adding more padding, it won't work perfectly and you'll have to make your own class with specific numbers as shown here: https://generatepress.com/forums/topic/slider-4/#post-122377



