Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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;
    } i

    is 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.
    #759426

    Hey 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,
    Mike

    #760168

    hello 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?

    #761382

    Hi,

    Please change the code to following one

    Best regards,
    Yigit

    #764242

    ok, 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.
    #764577

    Hi,

    I can’t see a menu on the page in private, is that how you want it to work?

    Best regards,
    Rikard

    #764651

    hello 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.
    #766157

    Hi,

    try this code instead inside Quick CSS field:

    .page-id-11 nav.main_menu {
    display: none;
    }

    Best regards,
    Andy

    #767402

    brilliant. thanks!

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘home page different layout’ is closed to new replies.