Support » Theme: OceanWP » Mobile menu center

  • Hello,
    How can I center the mobile menu.
    The CSS :
    @media (max-width: 767px){
    .custom-header-nav.clr {
    text-align: center;
    }
    }`
    does not work anymore.

    Thanks for your help

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    ​Please try to add the below CSS code from the Appearance > Customize > Custom CSS, and check.

    @media only screen and (max-width: 959px){
     .custom-header-nav.right {
        text-align: center;
    }
    }
    Thread Starter ameliehub

    (@ameliehub)

    Hello,
    I have already tried this, but it does not work.

    Abhishek

    (@abhikr781)

    Hello,

    Tried checking but didn’t get the added code.
    Please try the below CSS code and check.

    @media only screen and (max-width: 959px){
     #site-header .custom-header-nav.right {
        text-align: center;
    }
    }

    If not resolved with the above, please share a snapshot of the Custom CSS section or copy and paste all the added codes in theCustom CSS field, seems something missing there.

    Thread Starter ameliehub

    (@ameliehub)

    OK found the problem.
    As the last code did not work, I’ve checked all my added custom CSS.
    There was a problem there.
    So sorry to have troubled you with this.
    Thanks for your replies.

    Abhishek

    (@abhikr781)

    Glad to hear that issue has been resolved.

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