Tagged: horizontal, Layout elements, reduce
-
AuthorPosts
-
January 15, 2015 at 3:10 pm #380025
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
HenrikJanuary 15, 2015 at 9:32 pm #380460Hey 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!
YigitJanuary 21, 2015 at 2:28 pm #383000Hi Yigit
That did not work – no change
Any other ideas?
br henrikJanuary 21, 2015 at 3:10 pm #383014Hey!
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!
YigitJanuary 26, 2015 at 12:05 pm #385362This reply has been marked as private.January 26, 2015 at 3:58 pm #385505Hey!
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!
YigitJanuary 31, 2015 at 11:27 pm #388875This reply has been marked as private.January 31, 2015 at 11:38 pm #388883Good, let us know how if it works so we can mark the topic as resolved.
Best regards,
JosueFebruary 10, 2015 at 2:25 pm #393692Hi
I did not help. Is there another way to fix this?
best regards
HenrikFebruary 10, 2015 at 10:55 pm #394061Hey!
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,
IsmaelFebruary 21, 2015 at 12:11 am #399948This reply has been marked as private.February 23, 2015 at 6:09 am #400390Hi!
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,
RikardFebruary 24, 2015 at 10:16 am #401247Perfect – I get the picture:-)
-
AuthorPosts
- The topic ‘Reduce the space between the layout elements horizontal’ is closed to new replies.
