Okay
  Public Ticket #2937341
page header background
Closed

Comments

  •  2
    Rian started the conversation

    Hi there,

    I just noticed that the page header background images are not resizing on mobile/ipad. is there a way to keep them the full size?

  •  8,840
    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 (max-width: 1000px) {
       .page-id-3604 #page-header-bg[data-bg-pos=center] .page-header-bg-image {
            background-size: contain !important;
            background-color: #fdf6ec !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  2
    Rian replied

    Thanks Tahir,

    I flushed the cache after adding the code but it didn't change. Still cut off.


    thanks,
    R

  •  8,840
    Tahir replied

    Hey Again,

    It would only work on this page below 1000px screen size: 

    1702533430.png

    Thanks 


    ThemeNectar Support Team 

  •  2
    Rian replied

    Ah, I didn't see the page id in the code.
    is there a way to make it so there isn't all the space above and below the image?

  •  8,840
    Tahir replied

    Hey Again,

    Without cropping it's not possible.

    Thanks 


    ThemeNectar Support Team