Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • in reply to: Disabled responsive mode on a specific page #52377
     grafityx
    Participant

    Thanks 🙂

    in reply to: Disabled responsive mode on a specific page #52359
     grafityx
    Participant

    I added this into the header file and it works very well ! Is there a better way to write it?

    Thanks

    COPY CODE
    <?php
    if ( is_page('inscricao')) {
    echo '<meta name="viewport" content="width=980" />';
    }
    ?> 
    COPY CODE
    <?php
    /**
     * The Header for our theme.
     *
     * @package WordPress
     * @subpackage Sweetdate
     * @author SeventhQueen <themesupport@seventhqueen.com>
     * @since Sweetdate 1.0
     */
    ?><!DOCTYPE html>
    
    <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 8]>    <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
    <!--[if gt IE 8]><!-->
    
    <html class="no-js" <?php language_attributes(); ?>>
    <!--<![endif]-->
    
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <?php
    if ( is_page('inscricao')) {
    echo '<meta name="viewport" content="width=980" />';
    }
    ?> 
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    in reply to: Disabled responsive mode on a specific page #52273
     grafityx
    Participant

    What about if i make a custom page template for the specific page ? What i need to delete or add to disable the responsive function ?

    Thanks

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

Log in with your credentials

Forgot your details?