Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Ray Davies

    (@ray-davies)

    Guys, I think I sorted it myself. I downloaded the css file from the plug-ins folder, and pasted everything on it into my child theme css file and am able to change it. Nothing’s exploded yet anyway!!

    Thread Starter Ray Davies

    (@ray-davies)

    One more question folks, I want to have a nice, funky little border around the shortcode just like you have on your page. Again, being new to this worpress malarkey, I’m a bit lost. I took out the comments in the css before & after the border line in collapse-omatic rule, but it didn’t really work very well. I could probably live without it but it looks nice!

    Plugin Author Baden

    (@baden03)

    Hey Ray,

    Glad you got so far on your own steam! As far as your question about the border goes:
    When you say:

    I want to have a nice, funky little border around the shortcode just like you have on your page.

    Can you be more specific? Please paste a URL to the page you are referring to.
    Do you want to place a border around a) the trigger, b) the target, c) both?

    Thread Starter Ray Davies

    (@ray-davies)

    Hi Baden, url is here https://ilase.co.uk/blog/iLase_wp/conditions/myopia-hyperopia/
    Obviously its still a work very much in progress. I’d like the border to surround both the trigger and content. Thanks for the reply and the neat plug in. A lot of this wordpress stuff leaves me a little cold, but I’ll get to grips with it over time.

    Plugin Author Baden

    (@baden03)

    All you need to do is:
    1. wrap your expand elements in a div and assign it a unique class:

    <div class="my_class">[expand title="..."]...[/expand]</div>

    2. define your unique class either in your theme’s css or in the Collapse-O-Matic Options Page under Dashboard > Settings > Collapse-O-Matic > Custom CSS:

    .my_class {
    border: 1px dashed #cccc66;
    }

    Thread Starter Ray Davies

    (@ray-davies)

    Baden, absolutely first class! Worked like a charm! Many thanks indeed!!

    Plugin Author Baden

    (@baden03)

    Glad everything worked out!. Don’t forget to vote for Pedro!

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