The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. How to add dropdown menus in the Wordpress Cutline theme?

    How to add dropdown menus in the Wordpress Cutline theme?

    Intermediate & Advanced SEO
    8 3 379
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SamuelScott
      SamuelScott last edited by

      I've got a fan website for a cult US TV show (that also sells merchandise as an affiliate). The site's design is about five years old, and I should probably revamp it at some point: http://www.btvsonline.com/

      Anyway, the site's Cutline theme (http://cutline.tubetorial.com/) does not support native headers, and the header menu shows only a text list of my top-level pages. There are many subpages below these pages, but it's hard for users to find them without going to different pages to try to find things. What I'm looking for: if someone hovers above "Store" in the menu, a dropdown menu showing all the product pages would appear.

      I've tried to find Wordpress plugins or PHP hacks to add dropdown menus and I have gone through Cutline's support site, but I have had no luck. Anyone in the Moz community have any advice? Perhaps I just need to revamp the site with a new and modern Wordpress theme? Thanks in advance for any thoughts!

      1 Reply Last reply Reply Quote 0
      • spencerhjustice
        spencerhjustice last edited by

        As far as I can tell Cutline's css doesn't include support for dropdown menus. Does Cutline's main menu use the wordpress menu editor under appearance > menu in the main dashboard?

        SamuelScott 1 Reply Last reply Reply Quote 1
        • Travis_Bailey
          Travis_Bailey last edited by

          My development skills aren't that hardcore, but it sounds like you would want to develop a child theme. If you're editing the actual theme, it's just going to get overwritten with the next theme update. But that sounds like a lot of trouble when you can probably find something that works for $50.

          spencerhjustice 1 Reply Last reply Reply Quote 0
          • spencerhjustice
            spencerhjustice @Travis_Bailey last edited by

            It doesn't look the theme has been updated since 2011, so I don't imagine that it will be updated again, but a child theme would be best practice.

            Samuel,

            If it is using wordpress's built in menu editor I rewrote the css from the twentytwelve theme's menu to work with Cutline's theme. You should just be able to add this to the main css file. I don't think the theme will ever be updated again so I don't think that this will cause an issue.

            /* Dropdown Menu */

            ul#nav li {
            position: relative;
            }
            ul#nav li ul {
            margin: 0;
            padding: 0;
            position: absolute;
            top: 100%;
            z-index: 1;
            height: 1px;
            width: 1px;
            overflow: hidden;
            clip: rect(1px, 1px, 1px, 1px);
            }
            ul#nav li ul ul {
            top: 0;
            left: 100%;
            }
            ul#nav li:hover > ul,
            ul#nav li:focus > ul,
            ul#nav .focus > ul {
            border-left: 0;
            clip: inherit;
            overflow: inherit;
            height: inherit;
            width: inherit;
            }
            ul#nav li ul li a {
            background: #FFFFFF;
            border-bottom: 1px solid #ededed;
            display: block;
            line-height: 2.181818182;
            padding: 8px 10px;
            padding: 0.571428571rem 0.714285714rem;
            width: 180px;
            width: 7rem;
            white-space: normal;
            }
            ul#nav li ul li a:hover,
            ul#nav li ul li a:focus {
            background: #e3e3e3;
            color: #444;
            }
            ul#nav .current-menu-item > a,
            ul#nav .current-menu-ancestor > a,
            ul#nav .current_page_item > a,
            ul#nav .current_page_ancestor > a {
            color: #636363;
            font-weight: bold;
            }
            ul#nav li ul li a {
            padding: 5px;
            margin: initial;
            margin-top: 0px;
            }
            ul#nav li ul li {
            padding: 0px 0 0 0;
            text-align: left;
            }

            SamuelScott 1 Reply Last reply Reply Quote 1
            • SamuelScott
              SamuelScott @spencerhjustice last edited by

              Thanks so much for taking the time to write that!

              Unfortunately, I don't know exactly where to put it. I copied exactly what you wrote first at the bottom of this CSS file: http://www.btvsonline.com/wp-admin/theme-editor.php?file=style.css&theme=Cutline-1.4-3ColumnSplit (Stylesheet)

              And then I placed the code here:

              http://www.btvsonline.com/wp-admin/themes.php?page=editcss (CSS Stylesheet Editor)

              After I tried both options, my horizontal menu doesn't provide any dropdown menus. Am I doing something wrong? Thanks SO much again!

              1 Reply Last reply Reply Quote 0
              • SamuelScott
                SamuelScott @spencerhjustice last edited by

                No, Cutline does not use that Menu function at all.

                spencerhjustice 1 Reply Last reply Reply Quote 0
                • spencerhjustice
                  spencerhjustice @SamuelScott last edited by

                  Ah, yeah then their isn't really anyway for you to get dropdown menus unless someone modifies your header.php to add them. My css would only have worked if cutline was using wordpress's built in menu function.

                  SamuelScott 1 Reply Last reply Reply Quote 1
                  • SamuelScott
                    SamuelScott @spencerhjustice last edited by

                    Hey, if I PayPal you $25 and give you my login details, could you modify the header.php file and get the dropdown menu to work? I'm sure it'd take just a few minutes. I don't know that much PHP. 🙂

                    My e-mail address is in my Moz profile -- feel free to e-mail there.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • WordPress Themes and SEO
                      0
                      1
                      84

                    • Is a Wordpress AMP plugin sufficient, or should we upgrade our WP theme to an AMP theme?
                      ClaytonJ
                      ClaytonJ
                      0
                      3
                      721

                    • Updating 2013 Site Built with Custom Theme, Modify Existing Theme, Create New Custom Theme, Or Use Child Theme?
                      Kingalan1
                      Kingalan1
                      0
                      8
                      64

                    • Any WordPress themes better for schema
                      DonnaDuncan
                      DonnaDuncan
                      1
                      5
                      171

                    • Do you add 404 page into robot file or just add no index tag?
                      Everett
                      Everett
                      0
                      5
                      13.7k

                    • How do I change HTML title, and add H1 tags with Volusion? and why is it so hard!?!?! wordpress is WAYY better.
                      Pablostevens71
                      Pablostevens71
                      0
                      4
                      1.9k

                    • Will changing my wordpress permalinks add SEO value?
                      KJ-Rodgers
                      KJ-Rodgers
                      0
                      2
                      691

                    • Are dropdown menus bad for SEO
                      Panageos
                      Panageos
                      1
                      7
                      6.1k

                    Get started with Moz Pro!

                    Unlock the power of advanced SEO tools and data-driven insights.

                    Start my free trial
                    Products
                    • Moz Pro
                    • Moz Local
                    • Moz API
                    • Moz Data
                    • STAT
                    • Product Updates
                    Moz Solutions
                    • SMB Solutions
                    • Agency Solutions
                    • Enterprise Solutions
                    • Digital Marketers
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • Local Citation Checker
                    • MozBar Extension
                    • MozCast
                    Resources
                    • Blog
                    • SEO Learning Center
                    • Help Hub
                    • Beginner's Guide to SEO
                    • How-to Guides
                    • Moz Academy
                    • API Docs
                    About Moz
                    • About
                    • Team
                    • Careers
                    • Contact
                    Why Moz
                    • Case Studies
                    • Testimonials
                    Get Involved
                    • Become an Affiliate
                    • MozCon
                    • Webinars
                    • Practical Marketer Series
                    • MozPod
                    Connect with us

                    Contact the Help team

                    Join our newsletter
                    Moz logo
                    © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy