Viewing 9 replies - 1 through 9 (of 9 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have a look at how the default WordPress themes manage it (Twenty Ten & Twenty Eleven), use a tutorial or try a drop down CSS generator.

    Thread Starter passegua

    (@passegua)

    Ok, I’ll have a try, even if I’m totally ignorant about php coding.
    Thanks.

    Thread Starter passegua

    (@passegua)

    I’ve read both but I didn’t understand a single word.
    How could I build a drop-down menu?
    Where do I put the CSS drop-menu lines?
    In which part of css file I should add:
    <?php wp_list_pages(‘title_li=0&depth=2’); ?>
    Anyhow, thanks.

    Thread Starter passegua

    (@passegua)

    I could create a CSS for drop-down menu using “Drop down CSS generator”
    I download the file and then?
    Where shoud I put those lines? Just merge with the existing style.css in my theme?
    How could I put the drop-down menu where ever I want?
    I’d like to substitute <?php wp_list_pages(‘title_li=0&depth=2’); ?>
    wiht a drop down menu so should I change also header.php?

    As you see I have many questions, please help me if you can.
    Many thanks.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Passegua,

    I think what would be easiest for you, is to download a Custom CSS Manager plugin, then enter your CSS in there, as opposed to creating a Child Theme.

    Thread Starter passegua

    (@passegua)

    Thanks Andrew,
    I like easiest things.
    I already have a Custom CSS plugin, is that one that comes within Jetpack.

    So what should I put into it? The whole new CSS automatically generated?
    How could my wordpress theme knows where the drop down menu must be?

    Thanks again

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can use Firefox’s add-on Firebug or Google Chrome’s Inspect element feature, to find the HTML structure of your page and the CSS selectors to apply to.

    Once you know the CSS selectors, use the styles from whichever resource you’re following (tutorial, generator etc.) into your Custom CSS plugin area. WordPress will then figure out which elements to apply your drop-down to.

    Thread Starter passegua

    (@passegua)

    I gave up this issue since I’ve found a new theme supporting drop down menu and much more.
    This theme is suffusion and I like it very much.
    Many thanks anyway for what I’ve learnt from your suggestions.

    Good choice. Suffusion is an excellent theme with very good support.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Drop down menu hover’ is closed to new replies.