New Landing How can we help? Themeforest Theme Support Joyn How to disable the header, or roll back changes to header options

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Joyn
  • #244579
    barefootMarc
    Member
    Post count: 174

    The website I’m working on did not have a header originally. While experimenting with the display, I went to Theme Options -> Header Options, clicked on a Header Layout (no layout was selected before), then clicked Save Changes.

    I don’t actually want a header, but I couldn’t figure out how to unselect the Header Layout/disable header. In a panic, I clicked the Reset Section button and lost all the original settings in that section. To my chagrin, the first Header Layout is selected by default, so the header remains. How do I fix this?

    Ideally, I would like a way to roll back changes in Header Options similar to the way WordPress allows us to browse and revert to revisions on each page. If that’s not possible, can I disable the header somehow?

    #244737
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Add this to your custom css

    #header {
      display: none;
    }

    – Kyle

    #244767
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Do you want to completely hide the header at this page?
    Thanks
    Mohammad

    #244859
    barefootMarc
    Member
    Post count: 174

    I don’t want to hide the header. I want to remove the header, i.e. prevent the theme from adding the DOM element to every page.

    #244863
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Open up page.php and remove

    <?php get_header(); ?>

    – Kyle

    #244894
    barefootMarc
    Member
    Post count: 174

    get_header() includes header.php, which contains necessary code. Removing it breaks the site.

    I only want to remove the header bar on top of every page, inserted by the Joyn theme: <div class=”header-wrap”><div id=”header=”section”><header id=”header”>…

    I’m looking into sf-header.php now. Thanks for the suggestions.

    #244895
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry change it to:

    <?php get_header('alt'); ?>

    – Kyle

    #244899
    barefootMarc
    Member
    Post count: 174

    That works. Thank you so much!

    #244914
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Great thanks to Kyle.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register