• Hi, I’m new on wordpress and I need help.
    I created my first website and the image on the phone is not entirely visible, in the sense that it is cut and is not responsive.
    How can I do?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try deactivating all of your plugins to explore whether any could be responsible.

    If none are, can you tell us how you’ve modified the theme? For some reason the ‘js’ class added through this function is no longer working:

    
    
    /**
     * Handles JavaScript detection.
     *
     * Adds a <code>js</code> class to the root <code><html></code> element when JavaScript is detected.
     *
     * @since Twenty Seventeen 1.0
     */
    function twentyseventeen_javascript_detection() {
    	echo "<script>(function(html){html.className = html.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script>\n";
    }
    add_action( 'wp_head', 'twentyseventeen_javascript_detection', 0 );
    

    https://themes.svn.www.ads-software.com/twentyseventeen/1.4/functions.php

    Thread Starter nicholasferri

    (@nicholasferri)

    The piece of code is the same.
    While if you disable all the plugins nothing happens.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you modified the theme’s files?

    Thread Starter nicholasferri

    (@nicholasferri)

    yes, I modified the footer.
    I tried to do something with functions and headers but I put everything in place, in theory.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you transfer your modifications into a Child Theme? https://codex.www.ads-software.com/Child_Themes

    After you’ve transferred your changes, you can switch to the original Twenty Seventeen theme to see if the issue persists. If it doesn’t persist, you’re then at a much clearer and pragmatic position to question why.

    At the moment you’ve got custom theme that is difficult for us to support.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Responsive header on mobile’ is closed to new replies.