badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Removing top part of the header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13263
    paperdavid
    Participant

    Hi there. I wish to remove the top part of the header where the logo and social media icons sit so that the navigation menu is at the very top of the page.

    Is there a way of doing that?

    Thanks,
    David.

    #13278

    Hi Paperdavid,

    To remove the top part of the header where the logo and social media icons sit Go to Appearance -> Theme Options -> Design Options Tab -> Custom CSS paste the following CSS code and Click on save all changes button:

    .hgroup-wrap {
        display: none;
    }

    Note: If you wish to display header logo and social media again then remove above CSS from the Custom CSS options.

    Thank you!

    #13335
    paperdavid
    Participant

    Hi. How do I remove the link in the slider? I am using my site as a landing page so I don’t want to link out to any other pages.

    Thanks,
    D.

    #13357

    Hi Paperdavid,

    You need code customisation for it. You just simply go to the theme folder -> library -> structure -> header -extension.php

    Can you see this code

    if( has_post_thumbnail() ) {
    	
    							$attitude_featured_post_slider .= '<figure><a href="' . get_permalink() . '" title="'.the_title('','',false).'">';
    	
    							$attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class'	=> 'pngfix' ) ).'</a></figure>';
    						}
    						if( $title_attribute != '' || $excerpt !='' ) {
    						$attitude_featured_post_slider .= '
    							<article class="featured-text">';
    							if( $title_attribute !='' ) {
    									$attitude_featured_post_slider .= '<div class="featured-title"><a href="' . get_permalink() . '" title="'.the_title('','',false).'">'. get_the_title() . '</a></div><!-- .featured-title -->';
    							}
    							if( $excerpt !='' ) {								
    								$attitude_featured_post_slider .= '<div class="featured-content">'.$excerpt.'</div><!-- .featured-content -->';
    							}
    						$attitude_featured_post_slider .= '
    							</article><!-- .featured-text -->';
    						}

    remove this code and add this code

    if( has_post_thumbnail() ) {
    	
    							$attitude_featured_post_slider .= '<figure><a href="#" title="'.the_title('','',false).'">';
    	
    							$attitude_featured_post_slider .= get_the_post_thumbnail( $post->ID, $slider_size, array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ), 'class'	=> 'pngfix' ) ).'</a></figure>';
    						}
    						if( $title_attribute != '' || $excerpt !='' ) {
    						$attitude_featured_post_slider .= '
    							<article class="featured-text">';
    							if( $title_attribute !='' ) {
    									$attitude_featured_post_slider .= '<div class="featured-title"><a href="#" title="'.the_title('','',false).'">'. get_the_title() . '</a></div><!-- .featured-title -->';
    							}
    							if( $excerpt !='' ) {								
    								$attitude_featured_post_slider .= '<div class="featured-content">'.$excerpt.'</div><!-- .featured-content -->';
    							}
    						$attitude_featured_post_slider .= '
    							</article><!-- .featured-text -->';
    						}

    From here you slider and all content is displayed but We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.

    http://codex.wordpress.org/Child_Themes

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.