Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #910910

    Hi
    You can add below code in custom.css file to hide the mainbody from whole site

    .t3-mainbody {display:none;}

    To hide it specific pages use Page class in menu and then add the class name before mainbody class
    example : Page class : test
    code : `
    .test .t3-mainbody {display:none;}

    
    
    Hope it helps .
    sauvage Friend
    #911231

    Thanks Pankaj ! But its the same with the code :

    .t3-mainbody {display:none;}

    🙁 🙁

    sauvage Friend
    #911232

    ah nooooo its ok !

    Big thanks 🙂 😉

    sauvage Friend
    #911310

    The hole has disappeared with your added code in the CSS but when I open an item, nothing is displayed except the menu and footer.

    What is going on ?

    thanks

    Pankaj Sharma Moderator
    #911318

    Hi
    Please read my post Here to apply class for separate pages .

    sauvage Friend
    #911322

    I’m new my friend and i don’t understand

    Pankaj Sharma Moderator
    #911324

    Kindly post the url of the pages where u want to hide the mainbody .

    sauvage Friend
    #911325

    Only on the home page, the hole same the attachment.

    Thanks a lot Pankaj !


    1. ddd
    Pankaj Sharma Moderator
    #911341

    Hi
    Remove the older code and use this code

    .home .t3-mainbody {display:none;}
    sauvage Friend
    #911343

    <3 Pankaj <3

    MERCI BEAUCOUP !!! 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  sauvage 8 years, 7 months ago.

The topic ‘SPOTLIGHT HOME 3’ is closed to new replies.