WordPress.org

Ready to get started?Download WordPress

Forums

Catch Box
[resolved] CSS padding probs (5 posts)

  1. strasse
    Member
    Posted 2 years ago #

    Hi,

    Having again some troubles with the css. So i have this page where I chose to use the page template without sidebar

    the problem is that the content text on this pages is cut off somewhere in the middle of the page, and I want it to go through close to the right border.

    I found this, tried playing with it, but don't find the solution. Strange since I can put my text as far from the left border as I want when I am editing this code :

    .singular .entry-header, .singular .entry-content{
    margin: 0 0 0 75px;
    padding:  0;
    }

    suggestions? wrong css class/id? wrong code? wrong me? :)

    site url with page that is template page without sidebar : http://www.benelux-iwa.com/hoe-werken-wij/

    http://wordpress.org/extend/themes/catch-box/

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    .entry-content is restricted to width: 68.9%; in style.css;

    add for instance width: 90%; to your posted style;

    also possibly reduce the left/right margins in:

    .singular.page .hentry{
    padding: 0.5em 2em 2em;
    }
  3. strasse
    Member
    Posted 2 years ago #

    I tried them both before and just did it again but it doesnt work.

    I really can't find what is wrong.

    I think it has something to do with the page without sidebar -template but don't know really...

    other suggestions?

  4. strasse
    Member
    Posted 2 years ago #

    wooot fixed it. There was a , on a space where there should be a dot.

    your solution was right, thanks alchymyth The Sweeper!

  5. alchymyth
    Forum Moderator
    Posted 2 years ago #

    add for instance width: 90%; to your posted style;

    the idea was to add the width into your styles;
    i.e.:

    .singular .entry-header, .singular .entry-content {
    margin: 0 0 0 75px;
    padding:  0;
    width: 90%;
    }

    adjust the 90% number value.

    if you want the whole text more to the left, consider to reduce the 75px left margin.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags