Site logo

[Resolved] Minimum depth of Top Bar

Home Forums Support [Resolved] Minimum depth of Top Bar

Home Forums Support Minimum depth of Top Bar

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2094027
    David Bennett

    I want narrow top bar – just enough depth to add a one-line text message. When I set height of the bottom margin even to zero, the bar is still deeper than I want it to be.

    I haven’t set it because I can’t get it to display ‘thin’ enough for what I want.

    Is that standard, and something else is interfering with it?

    How to change it?

    #2094162
    David
    Staff
    Customer Support

    Hi there,

    the Themes Top Bar has 10px top and bottom padding, awhich you can change with some CSS eg to set the top and bottom to 2px:

    .top-bar .inside-top-bar {
        padding: 2px 40px;
    }
    #2094322
    David Bennett

    Thanks David
    It isn’t working – that is, the distance from the text to the top of the page is changing, but the distance from the text to the bottom is not changing.

    #2094655
    David
    Staff
    Customer Support

    Now add this:

    .top-bar p {
        margin-bottom: 0;
    }
    #2094666
    David Bennett

    Success! Thanks

    #2094668
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.