• Resolved glentaylor2003

    (@glentaylor2003)


    I simply can’t figure out how to get this to work. Have tried adding both of the suggested class items to the styles.css file, and they don’t seem to get picked up.

    Note: you mentioned Use “.wpex-link” class to style the links. in your plugin description and “.wpex_div” in a post below.

    I understand how to edit the .css file. What I need to know is, what syntax do you use inline to get it to work (if any)?

    https://wordpress.org/plugins/expander/

Viewing 1 replies (of 1 total)
  • Plugin Author Ciprian

    (@butterflymedia)

    Hi Glen,

    The HTML structure looks like this:

    <a onclick="wpex_toggle(1591372744, 'Read more', 'Read less'); return false;" class="<strong>wpex-link</strong>" id="wpexlink1591372744" href="#">
    Read more
    </a>
    
    <div class="<strong>wpex_div</strong>" id="wpex1591372744" style="display: none;">
    It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    </div>

    Notice the two classes used to style the link and the hidden paragraph.

Viewing 1 replies (of 1 total)
  • The topic ‘Still confused about styles and wpex’ is closed to new replies.