• Resolved Annademianenko

    (@annademianenko)


    I have deleted homepage picture from non-home pages with the help

    ‘body:not(.home) .site-header{
    display: none;
    }’

    , but now there is no possibility to come back to the main page from normal pages, as the menu or homebutton are connected to homepage picture.
    How is it possible to display a menu on every page?
    https://caged.demia.com.ua/?page_id=2

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author CrestaProject

    (@crestaproject)

    Hi Annademianenko,
    unfortunately you can’t because the menu is part of the header ??

    The only thing you can do is to “shrink” the header areas.
    If you want to make this change, here is the link where I explained how to do https://www.ads-software.com/support/topic/header-size-for-posts?replies=24#post-7131855

    With this method you can shrink the header of 50%

    Best Regards,
    CrestaProject

    Thread Starter Annademianenko

    (@annademianenko)

    Thank you very much.
    I decrease a size of the header, but i would like to make a homepage full screen and exceptions for pages, to make them half of the screen.

    You wrote
    For example: if the page has the ID = 95, then the height of the header will be windowHeight:2 (half of the screen).
    What code should i insert in javascript?

    Theme Author CrestaProject

    (@crestaproject)

    Hi Annademianenko,
    delete the row 10 in jquery.fortunato.js file and replace it with this code:

    if($('body').hasClass('page-id-2')) {
    var windowHeight = $(window).innerHeight() / 2;
    } else {
    var windowHeight = $(window).innerHeight();
    }

    This code change the header height only to the page with ID 2.

    Best Regards,
    CrestaProject

    Thread Starter Annademianenko

    (@annademianenko)

    Thank you very much))))

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add a homepage button for every page’ is closed to new replies.