WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] wierd things happen with .css (7 posts)

  1. Christina3467
    Member
    Posted 1 year ago #

    I am also using colapse-o-matic on these roll downs

    Seems to work great if until i attempt to add color to any text. Then the whole table collapses
    Noob ;p

    TIA...
    http://capitalistwizard.com/portfolio-a-b/

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    how are you adding the color to text?
    Please post an example of how exactly you are using the shortcode.

  3. Christina3467
    Member
    Posted 1 year ago #

    <span class="expandall">(Expand All)</span>
    <span class="collapseall">(Collapse All)</span>
    <table summary="This table shows ticket name, company name, percentage Gain/Loss, dividends, Buy/Sell suggestions, and amount " width="610" border="2" cellspacing="0" cellpadding="15">
    <tbody>
    <tr>
    <th scope="col" width="55"><span style="font-size: small; color: #003366;">Ticket</span></th>
    <th scope="col" width="211"><span style="font-size: small; color: #003366;">Name</span></th>
    <th scope="col" width="244"><span style="font-size: small; color: #003366;">Percentage Gain/Loss</span></th>
    </tr>
    <td> ACET </td>
    <td>[expand title=" ACETOCP" alt=" DRUG/INDUSTRIAL CHEMICALS "]
    DRUG/INDUSTRIAL CHEMICALS [/expand]
    </td>
    <td>[expand title=" 114.85% " alt= " Buy 2/2/2012 Sell 4/10/2012 Gain 111.94 " ]
    Buy 2/2/2012 Sell 4/10/2012 Gain 111.94 [/expand]
    </td>
    </tr>
    <td> ABCO </td>
    <td>[expand title=" ADVISBD" alt=" LEADER-RESEARCH FOR HEALTHCARE INDUSTRY "]
    LEADER-RESEARCH FOR HEALTHCARE INDUSTRY [/expand]
    </td>
    <td>[expand title=" 39.05% " alt= " Buy 12/6/2011 Sell 4/23/2012 Gain 79.28 " ]
    Buy 12/6/2011 Sell 4/23/2012 Gain 79.28 [/expand]
    </td>
    </tr>
    <td> ALG </td>
    <td>[expand title=" ALAMOGP" alt=" TRACTOR-MOUNTED MOWING, STREET SWEEPERS, ETC "]
    TRACTOR-MOUNTED MOWING, STREET SWEEPERS, ETC [/expand]
    </td>
    <td>[expand title=" 10.43% " alt= " Buy 1/25/2012 Gain 45.27 Dividend 3.24 " ]
    Buy 1/25/2012 Gain 45.27 Dividend 3.24 [/expand]
    </td>
    </tr>
    <td> ADS </td>

  4. Christina3467
    Member
    Posted 1 year ago #

    I am adding color to the text through the tiny mce visual editor. I am trying to merely change all negative percentages to red. When I do the whole table collapses.

    Thanks for replying :)

  5. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Wow... ok. Try this.

    For items you want the titles to be in red:

    [expand title="ACETOCP" alt="DRUG/INDUSTRIAL CHEMICALS" trigclass="redtext"]
    DRUG/INDUSTRIAL CHEMICALS[/expand]

    Trigclass Documentation

    For items you want the content to be in red:

    [expand title="ACETOCP" alt="DRUG/INDUSTRIAL CHEMICALS" targclass="redtext"]
    DRUG/INDUSTRIAL CHEMICALS[/expand]

    Targclass Documentation

    And then add the following to your theme's style.css:

    .redtext {
         color: red;
    }

    Let us know if you get it worked out.

  6. Christina3467
    Member
    Posted 1 year ago #

    That totally WORKED!

    You Have come through again.

    Thank you so much for your efforts and supreme SUPPORT.
    I will refer to the Documentation you provided next time.

    Thanks again

  7. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Yay! Glad things are working out for you. If you don't mind, give us a little review to help others make wise choices.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic