Tagged: horizontal, Layout elements, reduce
Hi
I need to adjust the space between the layout elements horizontal and not vertical. If I set up a page with ex. five 1/5 layout elements, there is too much space between them. The outer elements align to the sides as they should. I just need to reduce the horizontal space to ex. 10 pxl.
Hope you can help
Best regards
Henrik
Hey Henrikgood!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.page-id-1369 #main > div > div > .content {
padding-bottom: 10px;
}
Cheers!
Yigit
Hi Yigit
That did not work – no change
Any other ideas?
br henrik
Hey!
Code does not seem to being applied. Do you mind creating a temporary admin login and posting it here privately so we can look into it?
Cheers!
Yigit
Hey!
No worries at all Henrik, hope your children got well!
Please try adding following code to Style.css file of your child theme
#main > .fullsize > .container > main.content {
padding-bottom: 10px !important;
}
and please flush cache after applying the code.
Cheers!
Yigit
Good, let us know how if it works so we can mark the topic as resolved.
Best regards,
Josue
Hi
I did not help. Is there another way to fix this?
best regards
Henrik
Hey!
Place the 1/5 columns inside a color section then apply a unique id attribute to it using the For Developers: Section ID field. Use “custom-columns” for example. Replace the css code above with this:
#custom-columns div .av_one_fifth {
margin-left: 2%;
width: 18.4%;
}
This should decrease the left margin between columns and increase their width.
Best regards,
Ismael
Hi!
Try to play around with Ismaels code a bit, for instance, this will most likely work better:
#custom-columns div .av_one_fifth {
margin-left: 1%;
width: 18.4%;
}
Regards,
Rikard
Perfect – I get the picture:-)