• Resolved David

    (@fenceutah)


    I’m looking to make the width of the title menu a fixed width. I’ve modified the CSS of the plugin like this and I thought it would work.

    ‘.collapseomatic {
    color: white;
    width: auto;
    background-image: url(images/arrow-down.png);
    background-repeat: no-repeat;
    padding: 0 0 0px 16px;
    background-color:#759995;
    border-style:outset; border-width:3px;
    cursor: pointer;
    }’

    However, it does not. I’ve tried setting a size width as well, also messing with the padding and margins to fix it, but it’s not working.

    Here is the site, http://www.buydirectcompositefence.com/product-details.

    I can modify the color of the box, the text, the margins, but not the width of the container. Does anyone have any good ideas?

    Thanks,
    David

    http://ww.wp.xz.cn/extend/plugins/jquery-collapse-o-matic/

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

    (@baden03)

    By default the shortcode will use a span tag as the trigger text wrapper. Spans can not be set to a specific width. Use the Tag Attribute to change the wrapper to a div or h3 like so:

    [expand title="test" tag="div"]content...[/expand]

    Also, it’s not recommended that you change the plugin’s style.css, as this will be overwritten when/if you update the plugin. Better to ‘overwrite’ the css in your theme’s style.css… or better yet, create a special class, and assign this class using the trigclass attribute.

    Let us know if you get it sussed out.

    Thread Starter David

    (@fenceutah)

    That made everything work great. The tag feature is awesome. It will help me customize those areas a lot.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: jQuery Collapse-O-Matic] Full Width Background’ is closed to new replies.