Okay
  Public Ticket #3143471
Responsive editing
Closed

Comments

  •  3
    doyle_banks started the conversation

    I'm trying to figure out how to get a page header image to resize (responsive) on a tablet in landscape mode. I've resized the image to 1600x900 and that doesn't work. It resizes "well enough" for smartphones (landscape or portrait) and for tablets in portrait mode. Your website (https://themenectar.com/salient/) shows in the "Responsive editing" section what looks like a pop-up with which users can specify dimensions for each device view. I can't find that anywhere in my installation of Salient (v 1.9.5).

    In the "demo" on your website, I can't quite tell if the resizing tool only applies to the text boxes or also the background image. Can you clarify please?

    I'm attaching a copy of the image I'm trying to use.

    Thank you, 

    Doyle Banks

  •  1,877
    Judith replied

    Hi Doyle,

    Thanks for keeping in touch.

    @media only screen and (max-width: 1300px) and (min-width: 1000px){#page-header-bg[data-alignment=center], .page-header-no-bg[data-alignment=center] {
        height: 647px !important;
    } }

    Thanks.

  •  3
    doyle_banks replied

    Please clarify what I'm supposed to do with this. I'm not a programmer. It looks like you are saying I should copy/paste this code somewhere?

    Thank you,

    Doyle

  •  8,839
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (min-width: 999px) and (max-width: 1300px) {
        body:not(.single-post) #page-header-bg[data-padding-amt=high]:not(.fullscreen-header) {
            max-height: 650px !important;
        }
    }

    Thanks


    ThemeNectar Support Team