Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18599

    My website is http://palmbay.experiencefpc.com

    I am trying to reduce the amount of space between text and images in my post area and sidebar area. I want to reduce the area all around, the top, bottom, left, and right.

    Thanks for any help!

    #100092

    Hi tarldr,

    I’m not seeing any pages with examples of images so I’m not quite sure if this is what you are looking for but the best way to achieve what I think you are talking about is to create a new class for images you want to have no margins or padding and then apply that to those images.

    Otherwise all images will have no margins/padding and will lose all the white space that makes things look good in layouts.

    Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    #top img.custom_nospace {
    margin: 0;
    padding: 0;
    }

    Then, when adding an image you just add the class custom_nospace to it and it will have no margin or padding. In the visual editor, you can do this by going to the HTML tab and where the image has the class name(for example aligncenter) adding a space and then the text custom_nospace .

    Regards,

    Devin

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

The topic ‘Sidebar and Body margins’ is closed to new replies.