Support » Plugin: Collapse-O-Matic » Can’t seem to center tag

  • Resolved draconis1

    (@draconis1)


    Hello!
    I’m getting a lot of use from the CoM plugin but I am having a bit of difficulty in getting tags to center on screen.

    I have the following in my theme CSS:

    .centertag {
    text-align: center;
    background-position: center;
    }

    and my shortcode as:
    [expand title=”Board” swaptitle=”Board – Close” tag=”h2″ trigclass=”centertag”]

    I have also switched the Tag Attribute to div in setting but the tags are not centering. CSS is not my strongest area so any guidance would be appreciated.

    Thanks!

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

    (@twinpictures)

    text-align: center !important;
    does that to the trick?

    draconis1

    (@draconis1)

    Edit: I have also tried the CSS in the Custom Style box in the CoM settings with no luck.

    draconis1

    (@draconis1)

    loll, that was a fast reply.

    Adding the !important attribute does not Center it.

    Plugin Author twinpictures

    (@twinpictures)

    link please

    draconis1

    (@draconis1)

    myactp.org

    The bottom section.

    Thanks!

    Plugin Author twinpictures

    (@twinpictures)

    What you are trying to do is a bit complex. you would need to wrap the expand element in a div and define a fixed width. However, the content would only display in a column under the trigger. I guess you would like the h2 elements to act like a sub-menu and have the content show up under the row?

    You would need to use either the roll-your-own method, or Collapse-Commander to separate the triggers from the targets.
    Our pro plugins come with a very high level of personal support, so that might be worth the plugin price as it is.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t seem to center tag’ is closed to new replies.