• Resolved pharts

    (@pharts)


    How do you remove the automatically created buttons at the top of the page that display the categories using the Piano-black theme. I would like to remove them and move the rest of the website up to the top. My site is https://www.localbozo.com. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You would have to remove the following code from your header.php file:

    <div class="header-menu-wrapper clearfix">
     <div id="pngfix-right"></div>
      <ul class="menu" id="menu">
       <li class="<?php if (!is_paged() && is_home()) { ?>current_page_item<?php } else { ?>page_item<?php } ?>" id="header-menu-home"><a href="<?php echo get_settings('home'); ?>/"><?php _e('HOME','piano-black'); ?></a></li>
       <?php
             $options = get_option('pb_options');
             if($options['header_menu_type'] == 'pages') {
             wp_list_pages('sort_column=menu_order&depth=0&title_li=&exclude=' . $options['exclude_pages']);
             } else {
             wp_list_categories('depth=0&title_li=&exclude=' . $options['exclude_category']);
             }
       ?>
      </ul>
      <div id="pngfix-left"></div>
      </div>
    Thread Starter pharts

    (@pharts)

    Thanks for the reply. For some reason, in order for it to work I removed all the code listed above except the following lines:

    <?php
             $options = get_option('pb_options');
             if($options['header_menu_type'] == '')
       ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘(Piano Black Theme) Remove buttons automatically created at the top of the page’ is closed to new replies.