Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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
    Henrik

    #380460

    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

    #383000

    Hi Yigit
    That did not work – no change
    Any other ideas?
    br henrik

    #383014

    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

    #385362
    This reply has been marked as private.
    #385505

    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

    #388875
    This reply has been marked as private.
    #388883

    Good, let us know how if it works so we can mark the topic as resolved.

    Best regards,
    Josue

    #393692

    Hi
    I did not help. Is there another way to fix this?
    best regards
    Henrik

    #394061

    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

    #399948
    This reply has been marked as private.
    #400390

    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

    #401247

    Perfect – I get the picture:-)

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Reduce the space between the layout elements horizontal’ is closed to new replies.