Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #943761

    Hi, I’ve added a sub menu in my page which sits underneath the main menu of the website. For some reason it doesn’t line up with the container of the rest of the page. Is there a reason for this? You can see the issue here on a desktop view – https://dev.yallarugby.com/wp-content/uploads/2018/04/Screen-Shot-2018-04-18-at-22.40.52.png or view the actual page here: https://dev.yallarugby.com/mens-senior/

    I’m looking to have the sub menu line up with the logo and the home link like everything else would on a page.

    Thanks

    #943926

    Hey johnosjourney,

    You have this CSS in one of your cached CSS files:

    #top .av-submenu-container .container {
        padding: 0!important;
    }

    Please try to remove it and clear the cache from your caching plugins and browser and reload the page.

    Best regards,
    Rikard

    #944005

    Ok thanks for that. I have WP Rocket, should I just go to my cached minified file on the server and remove it or do I need to find the code in the main Enfold css folder? I have a child theme. I’m not sure how I can target it.

    Alex

    #944012

    I actually found the original version of this code in the shortcodes.css file of the Enfold folder. I have changed it but it will no doubt be wiped the next time I update the core Enfold files. How could I target it in my Child Theme’s CSS to turn it off as I don’t know what the padding should be?

    Alex

    #944436

    Hi Alex,

    If it’s in one of the core files, then you can add the code to your Quick CSS and simply override it that way:

    #top .av-submenu-container .container {
        padding: 30px !important;
    }

    Best regards,
    Rikard

    #944438

    Hi,

    If you need to clear the cache from you caching plugin, then the plugin should have options for that. You shouldn’t have to edit any files.

    Best regards,
    Rikard

    #945019

    Brilliant, thanks so much for your help Rikard

    #945232

    Hi johnosjourney,

    Glad that Rikard helped you :)
    Let us know if you need further assistance or if we can close this thread.

    Best regards,
    Nikko

    #945281

    I’ll be working on this at some point through the week so will update if successful.

    Thanks

    #945323

    Hi johnosjourney,

    Sure, just post your feedback once you’ve updated here.
    We’ll keep this thread open :)

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.