• Hi,

    I would be grateful for some help please.

    Really liking your plugin but I am trying to center align custom menu items I am adding for the TV channels on my website.

    Is this possible with CSS or some other way?

    They are appearing too far left and I would like them either center aligned or with a left margin please to make them a bit more in the middle.

    Being far left I think they would be harder to click on then more in the center.

    I tried both of these in your custom CSS field but neither seemd to hook the right div class.

    .ab-item
    {
    margin-left:300px;
    }
    
    #ab-item
    {
    margin-left:300px;
    }

    Thank you for any help in advance.

    ~Gary.

    I cant hyperlink to my site here for some reason but it is called WatchBritishTV.com.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codebunny

    (@codebunny)

    Add this to custom css text area, if you need to move left menus only,

    #wpadminbar .quicklinks ul#wp-admin-bar-root-default{margin-left:300px!important;}

    or

    Add this to custom css text area, if you need to move left & right menus both,

    #wpadminbar .quicklinks{width:80%!important;margin:auto!important;}

    But do not add both codes together.

    Thanks.

    Thread Starter gary-carlyle

    (@gary-carlyle)

    Sorry buddy.

    I dont mean the WordPress links. I mean the custom links now in my admin bar that I created using your plugin.

    I would like them either centre-aligned or with a left margin.

    When I tried what you wrote above it moved everything from the left towards the middle. Both the existing WP stuff and the custom links

    I only want the custom links generated with your plugin moved to the middle please, if possible?

    Thank in advance.

    ~Gary.

    Thread Starter gary-carlyle

    (@gary-carlyle)

    Although saying that, it is looking a lot better and good enough for now at least. Thanks.

    Would just be good to have control over the CSS for both the WP and the links generated by your plugin separately.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Center align custom menu items links??’ is closed to new replies.