Different sections on different pages

Hello again! I didn't quite get how to make pages show different sections of your theme. I mean, I have the home page and Contacts page, and I want Contacts page to contain map section and no hero section, no funfacts etc, how can I do that?

Comments

  • Hi, @goldcvt

    To do this, create a contact-template.php file in your theme folder and paste this code.

    And then Go to Appearance >> Customize >> Additional CSS and add the given below custom CSS code:

    .page-template-contact-template .googlemap-section{
    margin-top: 65px !important;
    } 

    Let me know for any confusion!

    Thanks
    Rishabh

  • Hi,

    Is the above solution works for you.
    If yes then allow us to close this discussion.

    Thanks
  • Yeah, pretty much, thanks
  • Hi,

    Glad to help you!

    If you like our Theme & Support, rate us HERE.

    Thanks :)
    Rishabh
This discussion has been closed.