Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29664

    Hello,

    Please look at http://spaansen.12switch.nl

    I want to have the content in white background.

    I did this with the following code in custom.css:

    .responsive .container .twelve.units

    {

    background-color: #FFFFFF;

    width:1010px;

    padding:10px;

    }

    The background works perfect. But because of that the content stands at te left side.

    So I put a padding in it and because of that i had to change the width to 1010px.

    It works on a computer, but on a phone or tablet it doesnt work good.

    If i but the width back to normal everything works great, but than I haven’t got a good padding.

    Can you please help me with that? I need a white background and a padding but also need responsiveness.

    Gr. Jeen

    #141206

    Hello again,

    I think because of the width it go’s wrong.

    Specially on a tablet. To make my question a lot easyer: can I have padding in the content

    and still get this on responsive look?

    Gr. Jeen

    #141207

    Hi Jeen,

    Can you please firstly post us a screenshot showing where exactly you want to increase padding in content? You can use http://imgur.com/

    Regards,

    Yigit

    #161584

    Of course!

    http://imgur.com/VJl2K7i

    I posted two pictures. One is with correct padding and one without.

    Gr. Jeen

    #161636

    Hi,

    Can you try deleting width and padding from your first code and adding following code to Quick CSS in Enfold theme options under Styling
    div.post-entry { padding-left: 10px; }

    Regards,
    Yigit

    #161647

    Hello Yigit,

    Really great solution!!! Thank you very much. Solved my problem!

    Gr. Jeen

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Content white background + padding’ is closed to new replies.