-
AuthorPosts
-
March 11, 2017 at 11:11 am #759345
hello:
is it possible to give the homepage a total different layout than the other pages?
i mean, on the homepage i dont need: a menu, a search box.
the rest of the page however i do!nb: the transparany of the page, of the content elemets… can i manage this somewhere?
nb2;
div.header_bg, #socket {
background-color: rgba(0,0,0,0) !important;
}
div.main_color.container_wrap.fullsize {
background: rgba(0,0,0,0) !important;
}
#main, .html_stretched #wrap_all{
background: transparent !important;
} iis doing the job, but imagine i want some pages with just a WHITE main area….
how can i say: make the first page transparant, but the second one not?- This topic was modified 7 years, 8 months ago by yampieters.
March 11, 2017 at 7:52 pm #759426Hey jelle,
I believe what you are asking is how to make your above css only target your homepage. In this case you want to use the page id selector, in your case it’s: “.html_entry_id_11”Best regards,
MikeMarch 13, 2017 at 6:21 pm #760168hello mike
thanks for youranswer.
now i have put , to check it out,.html_entry_id_11 {background: red;}
in the quick css, but nothing seems to happen…
what’s going wrong?
March 15, 2017 at 1:07 pm #761382March 21, 2017 at 4:01 pm #764242ok, thanks. im almost there.
how would i say to NOT have a menu on the homepage,
and on the other hand to HAVE on the other pages?- This reply was modified 7 years, 8 months ago by yampieters.
March 22, 2017 at 6:32 am #764577Hi,
I can’t see a menu on the page in private, is that how you want it to work?
Best regards,
RikardMarch 22, 2017 at 8:51 am #764651hello rikard,
yes, on the home page i dont want a menu
on the other pages i want one.
but how could i manage this? i have now activated the menu, but than it is also appearing on the homepage.
would there be any option in the backend to choose ‘ show menu only on the checked pages ‘ or something like that?—————
ive tried: .page-id-11 #header_meta { display: none; }
but the menu is still visible…- This reply was modified 7 years, 8 months ago by yampieters.
March 24, 2017 at 1:56 pm #766157Hi,
try this code instead inside Quick CSS field:
.page-id-11 nav.main_menu { display: none; }
Best regards,
AndyMarch 27, 2017 at 1:12 pm #767402brilliant. thanks!
-
AuthorPosts
- The topic ‘home page different layout’ is closed to new replies.