Support » Plugin: Collapse-O-Matic » wierd things happen with .css

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Baden

    (@baden03)

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

    <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>

    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 🙂

    Plugin Author Baden

    (@baden03)

    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.

    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

    Plugin Author Baden

    (@baden03)

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wierd things happen with .css’ is closed to new replies.