WordPress.org

Ready to get started?Download WordPress

Forums

WP-Creativix
[resolved] Dropdown menu spacing (4 posts)

  1. SusanO2607
    Member
    Posted 1 year ago #

    I have a dropdown menu on http://iswconsultants.com under Programmes Offered which seems to be double-spacing itself. Is there any way to compact this to single-line spacing?

    Thanks...

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Looks like you need to make those dropdown menu items wider - you can do that in the CSS code - you'll need to have Custom CSS to do that - which you can add via a plugin if you don't have it already in your theme or you can use a Child Theme - then try adding this:

    #header #navbar li ul a {
        width: 330px;
    }

    Adjust the width according to what you want.

  3. SusanO2607
    Member
    Posted 1 year ago #

    I have created a child theme. However, this code (#header #navbar etc) is found under style.php and not my style.css, will this be a a problem?

  4. SusanO2607
    Member
    Posted 1 year ago #

    Solution works nicely, although I used 250px instead.

    Have decided to revert to main WP-Creativix theme and make my changes to the .php file. Quick to change if theme is updated.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags