The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Padding Problem around slider

  • # January 26, 2013 at 3:35 pm


    I have a serious problem on my website

    The slider on this page is cropped. This is because of a padding in the CSS of the WP-theme. When i set this padding to 0px the whole template looked messed up.

    I am looking for a solution to remove this padding ONLY for this block. So the slider will show his given width of 920px. And the white paddig space around it should be gone.

    !!!!Thank you very much if you can help me with this issue!!!!

    I am trying for days and days now!

    Best Regards,

    Pascal Theune

    # January 26, 2013 at 3:39 pm

    Is this what you’re looking for?

    .block-6 .block-inner {
    padding: 0;

    # January 27, 2013 at 9:58 am

    Wow!!! You made my day! Thanks man, finaly the solution : ) Did you find this with firebug? Like knowing wich block exactly?

    On the bottom there is still a padding. Just under the slider. I guess i have to set this in the CSS of the layout?

    I am trying to learn some CSS ; )



    Pascal Theune

    # January 27, 2013 at 10:28 am

    I used the WebKit inspector, which is sort of the same thing as Firebug.

    # January 27, 2013 at 11:46 am

    Okay thanks!

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed