Hide main menu and logo on a page

Support desk for Multipurpose Quark Theme
GK User
Tue Mar 28, 2017 12:02 pm
Hello everyone.
I created a landing page and bvoglio now that there is not the classic menus and the site logo on this particular page.
It can be done? As?
Thank you!
User avatar
Senior Boarder

Joshua M
Thu Mar 30, 2017 1:26 pm
Hello,

Could you provide an URL to your page where you want to hide menu and logo?
User avatar
Moderator

GK User
Thu Mar 30, 2017 1:30 pm
User avatar
Senior Boarder

Joshua M
Thu Mar 30, 2017 10:31 pm
You have to add custom css class for this page. Please check the article here:
https://www.gavick.com/documentation/jo ... und-images
- first part Suffix Method (#1)

Then, you have to add the following custom css code:
Code: Select all
body.abc #gkHeader {
display: none;
}

where "abc" is your suffix added to this landing page.
User avatar
Moderator

GK User
Sat Apr 01, 2017 4:19 pm
Hello, I created this code to override css:

Code: Select all
# {body.landing #gkHeader
display: none; }}

Then I put on the landing page: body.landing
Does not work.
What should I do?
Thank you
User avatar
Senior Boarder

GK User
Sun Apr 02, 2017 9:51 am
Update, now work but in all pages....
Help me please....
User avatar
Senior Boarder

Joshua M
Sun Apr 02, 2017 8:53 pm
I can't see "landing" class for your body.. so you didn't add the suffix properly.
User avatar
Moderator

GK User
Sun Apr 02, 2017 10:55 pm
I added
Code: Select all
body.landing,
#gkheader {
display: none;
}

in the css but it takes me the header of all pages and so I removed it.
Can you explain step by step how to do?
Thank you
User avatar
Senior Boarder

Joshua M
Mon Apr 03, 2017 10:36 pm
First of all - you code is incorrect, it should be:
Code: Select all
body.landing #gkHeader {
display: none;
}

but you have to add "landing" class for your body.. (it's described here with screenshots: https://www.gavick.com/documentation/jo ... und-images - Suffix Method (#1))
User avatar
Moderator

GK User
Tue Apr 04, 2017 9:20 am
I tried to follow the instructions but definitely something wrong.
In the First attach the rules on the template.
In the second with the rules of the landing page
In the third the displayed page
In the fourth css.
Sorry for my ignorance
Marco :dry:
User avatar
Senior Boarder

GK User
Tue Apr 04, 2017 9:21 am
Last attach...
User avatar
Senior Boarder

Joshua M
Wed Apr 05, 2017 9:18 am
640 is the ID of your frontpage, not this page: http://vrpower.it/index.php/it/?option= ... =page&id=2
so the "landing" class is not added..
User avatar
Moderator

GK User
Wed Apr 05, 2017 11:08 am
I tried to change id 2 but it does not work. What is the id of my page to add to the template settings?
User avatar
Senior Boarder

Joshua M
Thu Apr 06, 2017 10:30 am
I don't know :)
You have to check it from your backend menu section or send me a private message with the access, then I'll try to help.
User avatar
Moderator


cron