Support » Plugin: WP-TopBar » [Plugin: WP-TopBar] How to add container around text/center as screen widened.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bob

    (@rfgoetz)

    Right now you have two CSS selectors to work with:

    <div id=”topbar”>
    <p id=”wptbheadline”></p>
    </div>

    I think you are asking for a new selector such that:

    <div id=”wptopbar”>
    <div id=”topbar”>
    <p id=”wptbheadline”></p>
    </div>
    </div>

    Then you can use your own CSS stylesheet to style the new selector.

    Right?

    Well I need to be able to control what’s in the second selector in order to set a width. If it’s set before the two current selectors,I won’t be able to have 100% width on the background bar.

    Plugin Author Bob

    (@rfgoetz)

    Hmm. If I add the new DIV, you can use your own stylesheet to format that (center, 100% width) and then use the options in the plugin to style the text line (left aligned. etc).

    Or am I missing something?

    Do you have a better option?

    The top div is what gives fixed position. I don’t want to mess with that, just the text on the inside. I don’t have a better option, that’s why I’m asking for help :o)

    Plugin Author Bob

    (@rfgoetz)

    You you tried this, entered in the last CSS field box (For the Entire TopBar):

    top: 40; width: 240px; z-index: 99999;margin: 0 auto; text-align: left;

    It worked for me. I created a small, centered text box that had the text left aligned.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP-TopBar] How to add container around text/center as screen widened.’ is closed to new replies.