Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1034923

    Hi Guy’s,
    My apologies for the duplicate post in comments but… I couldn’t figure out (remember) how to create a NEW post here so I reverted to the comments section in order to get answers. Anyway, I had to search in order to find the link to get my question posted here. Not sure why this is so cloak and dagger but perhaps you need to create a button to make it easier for someone to start a new post?
    ANYWAY…
    I’m hoping you can help me solve this issue…
    I am using the Consulting theme and need to find a way to get the menu structure to treat sub-links or sub-menu items as an accordion style rather than throwing them out to the side as they do now. Is this possible??
    I’m kind of limbo right now and cannot proceed until I get this figured out so your help is invaluable!

    Cheers,
    JC

    #1034961

    Hey collinssafety,
    Thank you for your new thread, it seems that you have found the big blue button at the top of the forum with the text:
    Can’t find a solution to your problem? Open a new thread
    But I can see that if you are reading a thread this button is not visible, in this case please look at the breadcrumbs and click the “Enfold” to be taken back to the main forum.

    I didn’t find the css to create a accordion style menu, so I worked this out for you by installing the demo on my localhost and adding a couple of menu items under one, Please try this code in the General Styling > Quick CSS field:

    .av-main-nav li:hover > ul {
        top: 100% !important; 
        left: 0% !important; 
        position: relative !important; 
        width: 100% !important; 
    }
    .header_color ul.sub-menu li {
        border-width: 0px !important; 
    }
    .av-main-nav > li > ul.sub-menu {
        border-top-width: 0px !important; 
        border-top-style: none !important; 
    }
    .av-main-nav ul.sub-menu li a {
        border-right-style: none;
        border-right-width: 0px;
        border-left-style: none;
        border-left-width: 0px;
    }
    .av-main-nav ul.sub-menu li:last-child > a {
        border-bottom-style: none;
        border-bottom-width: 0px;
    }
    
    .html_header_sidebar #header .av-main-nav ul.sub-menu > li > a {
        border-bottom-style: solid;
        border-bottom-width: 1px;
    }

    If this fails, please try this code in the WordPress > Customize > Additional CSS field.
    If this still fails, then include your url so we can take a closer look.

    Best regards,
    Mike

    #1035351

    Hi Mike,
    Thank you!! You’re a genius.
    The first option (quick css) didn’t work but the second option did. MUCH appreciated!
    Since my last posting however I noticed another issue with the settings for this menu that I hope you can help resolve.
    When I try and change the font size of the Main Menu Links through Advanced Styling… to a smaller font, it doesn’t change the font size at all… but it instead, it decreases the line spacing (as you can see by the screenshot link attached). Not sure what’s going here and there’s no way to fix that either because there’s no option to adjust the line spacing in this section. There is “Line Height” settings in the in the Main Menu sub-level Links, but nothing in the Main Menu Links. Any idea how to fix this?

    Thanks again for help!

    #1035463

    Hi,
    What font size would you like? Please undue the font size change in the Advanced Styling and include a link to your site, so I can assist with some css.

    Best regards,
    Mike

    #1035494

    Hi Mike,
    Not sure exactly what font size I’ll need in the end just yet. I was just trying to play around with it and adjust it accordingly to the best fit.
    If you apply some css… I can adjust that accordingly later. FYI, this is a multi-site just in case you’re wondering when you see the url. (attached). I provided a temporary login for you in the private section just in case.

    Oh, and I did change everything back to default but the line spacing didn’t change back to normal for some reason. Not sure if it’s the code you had me put in earlier or what?

    Thanks again for your help!

    #1035598

    Hi,
    Thanks for the link, please try this css, the first rule is for the main menu & the second rule is for the sub-menu, should you want to adjust the font size there as well:

    .html_header_sidebar #header .av-main-nav > li > a .avia-menu-text {
        font-size: 20px !important; 
        line-height: 1.3em !important; 
    }
    .html_header_sidebar #header .av-main-nav > li > ul.sub-menu > li > a span.avia-menu-text {
        font-size: 20px !important; 
        line-height: 1.3em !important; 
    }

    Please feel free to adjust & then clear your browser cache and check.

    Best regards,
    Mike

    #1035734

    Hi Mike,
    I tried the code in both Enfold “Custom Css” (no effect) and in the Customize section… (no effect).
    When I tried in the customize section it showed over 20 errors in code? I couldn’t grab a screenshot to show you because you can only see it if you hover your mouse over it.

    Your thoughts?
    Fee free to log in with that link and try it yourself.

    Cheers,
    Joe

    #1035892

    Hi,
    Thank you for the login, I didn’t have access to the WordPress > Customize > Additional CSS or the WordPress > Appearance > Editor > style.css so I couldn’t check for errors, but I ws able to check Enfold Theme Options > General Styling > Quick CSS were I found that your arrows ” > ” were actually html code ” > ”
    2018-11-20-211339
    I suspect that you copied the code from a email rather that the code block in the forum, no mater I replaced with the correct css and cleared the cache plugin and my browser cache, and found it to work fine:
    2018-11-20-211628
    Please remove any rouge code in the areas listed above and clear your browser cache and check.

    Best regards,
    Mike

    #1036030

    Awesome… thanks Mike!

    #1036091

    Hi,
    Glad we could help, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1036240

    Oh sorry..Yes!

    #1036376

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Consulting theme menu’ is closed to new replies.