Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Responsive banner and bump header text on mobile


jfrole

Question

Site URL: https://www.oldsonmedical.com/

Hi I am struggling with the auto responsiveness of the home page banner on my site for mobile. The text runs over my clients face and she doesn't like it. My client wants to keep the photo there (not replace with a non headshot photo for mobile) but is there any way to bump the banner text above or below the photo with code? I've tried this code below but it just ends up cutting off the entire banner and text with it (second pic). It would be great if the header text + button bumped down into its own blue section below the banner image...

@media screen and (max-width:767px) {
.homepage #page section:first-child {
    min-height: 20vh !important;
    height: 30vh;
}
}

Screen Shot 2021-01-13 at 12.30.00 PM.png

Screen Shot 2021-01-13 at 12.31.03 PM.png

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0

Add to Design > Custom CSS

/* Mobile banner */
@media screen and (max-width:767px) {
div#page-section-5fc53671f81c9a2a0c4c611a .span-12 {
    position: relative;
    bottom: -100px;
}
body.homepage #page section:first-child {
    height: 90vh;
}
}

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...