Support » Theme: Harmonic » Adjusting featured photo for phone

Viewing 1 replies (of 1 total)
  • Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    You can hide the featured image below a specific screen size by adding some custom CSS in a media query.

    Looks like you already added something here, are you all set or do you still need help?

    @media screen and (max-width: 600px) {
      #slide-feature {
        display: none;
      }
    }

    I checked out your site here: arianabrophy.com and noticed that you’ve added your own CSS at the top of the theme’s stylesheet. It’s very important not to edit the original theme files, since all changes will be overwritten and lost the next time you update the theme.

    If you only need CSS changes, an easy way to add custom CSS is to use the CSS editor included in the Customizer as of WordPress 4.7. Head to Appearance > Customize > Additional CSS to add your custom CSS. If you’ve also modified other theme files beyond CSS, I’d suggest you move all your changes (including CSS) into a child theme, so your changes won’t be overwritten when you update the theme. If you’re new to child themes, you can explore these guides:

    http://codex.wordpress.org/Child_Themes
    https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.