Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #234534
    Morgoth
    Participant

    Hello,

    I’m using Rock Star Free with the plugin “Page scroll to id” to create a one page website. Unfortunately the menu doesn’t close on clicking a menu item on mobile. Do you have an idea how to achieve this?
    https://www.hardbeatinc.de

    Many thanks in advance!

    #234566
    Skandha
    Participant

    @morgoth: Hello there,
    If you want to do this you will have to remove the fixed header.
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    #masthead {
        position: absolute;
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #234763
    Morgoth
    Participant

    Hello @skandha,

    Unfortunately it didn’t work as I wanted to use the fixed header and the sticky menu.
    I found a way using a child theme like this:
    https://colorlib.com/wp/forums/topic/need-to-close-mobile-menu-on-click-for-anchor-links/

    One last question: is there a way to get the CT: background image widget to fill width like in the demo? In my site it has only content width.

    #234899
    Skandha
    Participant

    @morgoth: Hello there,
    I think the image is not showing full width because of its size. Try uploading images of size 1920*600px or similar aspect ratio.

    Let me know if this resolves your issue.
    Kind Regards,
    Skandha

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Close menu on click’ is closed to new replies.