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*

locka

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Desktop view on mobile device #9707
    locka
    Participant

    surely you should just need to remove the media tags in the CSS then web page will only process the one set of CSS and make the page like a normal website. Unless you have code which works out the screen size as well.

    To have the options to switch between the two you could go for a plugin like Mobile Smart(never tried) just search the plugins wit the word mobile loads come up

    in reply to: Page titles not appearing #7853
    locka
    Participant

    ok thanks for that however for those of us that would like the feature you will need to modify the code. To do this open following file attitude\library\structure\header-extensions.php

    Then go down to line 510 remove the last elseif statement and copy line 511 to replace line 515 please see code below to help

    function attitude_header_title() {
    	if( is_archive() ) {
    		$attitude_header_title = single_cat_title( '', FALSE );
    	}
    	elseif( is_404() ) {
    		$attitude_header_title = __( 'Page NOT Found', 'attitude' );
    	}
    	elseif( is_search() ) {
    		$attitude_header_title = __( 'Search Results', 'attitude' );
    	}
    	elseif( is_page_template()  ) { ******REMOVE****
    		$attitude_header_title = get_the_title();******MOVE****
    	} ******REMOVE****
    	else {
    		$attitude_header_title = '';  ******REPLACE****
    	}
    
    	return $attitude_header_title;
    
    }
    endif;
Viewing 2 posts - 1 through 2 (of 2 total)