Removing Header-Right Navigation from Page Template

Homepage Community Forums Epik Theme Support Removing Header-Right Navigation from Page Template

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12125
    Bruce
    Customer

      I’d like to build landing pages that include the header logo, but not the custom navigation embedded in the header right widget area.

      http://www.eazystock.com/sample-landing-page

      In the landing page php file, I’ve commented out the removal of the header area, but do not know how to suppress/remove just the widget area.

      //* Remove site header elements
      //remove_action( ‘genesis_header’, ‘genesis_header_markup_open’, 5 );
      //remove_action( ‘genesis_header’, ‘genesis_do_header’ );
      //remove_action( ‘genesis_header’, ‘genesis_header_markup_close’, 15 );

      Any ideas?

      Bruce

      #12142
      Eric
      Customer

        I haven’t seen any code in Genesis that will remove just the widget area, but you could add some css to hide it from showing specifically on your landing pages by adding this –

        .epik-landing .header-widget-area {
            display: none;
        }

        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #12155
        Bruce
        Customer

          Thanks. I can remove the header widget for the entire site with….

          .header-widget-area {
          display: none;
          }

          but adding the .epik-landing class does not limit that to landing pages (widget still appears). Are you sure that is the correct class name? I don’t see any other references to that in the CSS.

          #12157
          Bruce
          Customer

            Got it. Replaced .epek-landing with this…

            .page-template-page_landing-php .header-widget-area {
            display: none;
            }

            Thanks for putting me in the right direction.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘Removing Header-Right Navigation from Page Template’ is closed to new replies.