Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Genesis line-width and Zotpress

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #237985
    nyfiken
    Participant

    I’m having a problem related to line-width. I want it to be short enough to be easy to read and earlier received good help in this forum with this code:

    .entry-content p {
    max-width: 665px;
    margin: 0 auto 30px;
    } 
    

    I’m using Genesis and the Minimum Pro theme.

    Now trying to add more scientific writing to my site with the Plug-in Zotpress, this plug-in doesn’t listen to the code above. I have tried to get help from the Zotpress forum, and the plug-in programmer, but as yet with no success. I tried this code

    .div.zp.Zotpress p {
    max-width: 665px;
    margin: 0 auto 30px;
    } 
    

    and this one

    .entry-content .zp-Zotpress p {
    max-width: 665px;
    margin: 0 auto 30px;
    } 
    

    Suggested by the Zotpress programmer, but with no success.

    You can see how it looks here:

    http://exp.silent.se/psy/test-zotpress/
    

    Anyone has a clue? Do I need to add some code to my functions.php or is this a pure css problem?

    #237994
    Atelierbram
    Participant

    p tag is targeted, but there is no p-tag inserted. Better target the wrapper zp-Listinstead, something like:

    .zp-List {
      max-width: 665px;
      margin: 0 auto 30px;
    } 
    
    #237997
    nyfiken
    Participant

    Thank you so much! That cured it!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.