Support » Themes and Templates » NFSW CSS Problem

  • I’m trying to build an adult website using twentythirteen (link here [NSFW]) modelled after another one i build in twentytwelve (link here [NSFW]) however i’m running into some problems.

    Firstly the excerpt is indented, less than a third of the entry area and even when i correct this using an absolute width the buy now and learn more boxes cover the title of the article below.

    can anyone offer any assistance?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Add this to your custom CSS

    .entry-summary {
        padding: 8px !important;

    Thank you so much i spent ages trying to fix that!!

    Don’t suppose you have any idea how to stop the custom fields overlaying the next title!

    What custom fields?

    the buy now and learn more links below the excerpt are populated ising advanced custom fields

    You’ve added height to posts #posts {height: 450px;}
    This forces posts with longer content to overflow to the one below.
    Remove the height. If you want you can add a min-height instead.

    Thank you so much for that couldn’t see it for looking at it!

    out of curiosity why is the !important; required?

    out of curiosity why is the !important; required?

    You mean here?

    .entry-summary {padding: 8px !important;}

    Just in case padding for entry-summary is already declared somewhere, adding !important will make sure our own declaration is followed.

    You can also make the css target more specific than the other declarations so you wouldn’t have to add an !important

    .content article .entry-summary {padding: 8px;}

    Tip: just in case you aren’t already using it, try to install firebug. It’ll make website customization a lot easier and faster.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘NFSW CSS Problem’ is closed to new replies.