ThemeShaper Forums » Thematic


Remove Superfish Dropdowns

(8 posts)
  • Started 13 years ago by hsatterwhite
  • Latest reply from eryx
  • This topic is not resolved
  1. hsatterwhite

    How do I remove the default dropdowns from an out of the box thematic child theme? I want to remove any markup, css, and javascript from the child theme as it is not needed. I don't need a single trace of it rendering in the theme.

    Thank you!

    Posted 13 years ago #
  2. rickg

    I'm not sure what you're asking... if you don't want to use the sample child theme just start with a blank child theme folder and a blank style.css inside of it that calls Thematic like this:

    Theme name: childtheme
    Template: thematic

    If there's nothing else in there you'll have an unstyled page that is marked up with Thematic structure.

    Posted 13 years ago #
  3. hsatterwhite

    Hi rickg,

    Thanks for the info -- I wasn't aware you could actually do that, but that makes total sense.

    Ideally I want to remove the dropdown menu functionality on the main navigation that comes out of the box with thematic.

    Posted 13 years ago #
  4. I assume you've also checked out the official FAQ section for Thematic: - if you scroll down to thematic_head_scripts() it actually shows you how to replace the dropdown menu with your own scripts.

    If you want to style the menu further your own way, maybe this is a possible step towards the solution:

    This great tutorial tells you how to add a search box to the menu, and the first thing it says to do is to 'unhook' the thematic menu, so that you can use your own menus.

    This is what the child theme's functions.php is for, as far as I've understood it anyway.

    p/s: Superfish is pretty cool. What are you planning to replace it with?

    Posted 13 years ago #
  5. I am having the same problem removing the dropdown menus. Flick, thanks for providing those two great links.

    I have taken a look at both but have kind of become stuck.

    The first post in the themeshaper guide does show you how to edit the code but I can't seem to find the option the removes the dropdown menu on the superfish options.

    Your second link was also great but it removed the whole menu, this would mean you would have to rebuild the menu with your own class names. It would make more sense to simply modify the Themematic theme so that the javascript for the dropdowns is just not called.

    Is there another option that I am missing?

    Thanks for all your help

    Posted 12 years ago #
  6. This should do the trick:

    .sf-menu ul {
    display: none;

    Posted 12 years ago #
  7. killing the javascript is covered here:

    Posted 12 years ago #
  8. Thank you both for your posts.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.