This topic has 1 reply, 2 voices, and was last updated 10 years by Kamal.

  • Author
  • #34819
     Namsey
    Participant

    Hello , I want to hide the header and footer on the home page with Revslider only on mobile.
    Can you help me?
    Thank you very much.

    Attachments:
    You must be logged in to view attached files.
    #34957
     Kamal
    Moderator

    Hello @Namsey,
    You can hide header and footer on your home page just putting the following code

    COPY CODE
    
    @media screen and (max-width: 480px) { 
       body.home-page #header, body.home-page #footer { 
       display: none !important;
        } 
    }
    

    to your the style.css file of KLEO Child Theme. You can edit the file from Appearance>Editor>Style.css. Please just copy and paste the code to the style.css file and save. Then visit your site. I have tested on my site. It works fine. Please let me know if it works for you. Thank you very much. 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?