CMS Development

BWinter1
Member

bg-image hides on mobile view

section-bg member-image

- regardless of what I change in custom css, will not appear below 768px.  Some modules that are duplicated, use the same custom CSS and work fine.  

.bg-image

will not appear on mobile. 

 

Any suggestions?

 

Let ColumnLet Column

 

0 Upvotes
4 Replies 4
BWinter1
Member

bg-image hides on mobile view

https://www.ameritrusthomemortgage.com/chuck-demarti

https://www.amerifirst.com/cynthia-thomas

 

The only difference between these two are the headers and footers. 

When I change the footer out it seems to cause the issue. Any ideas on how to fix? 

 

0 Upvotes
webdew
Guide | Diamond Partner
Guide | Diamond Partner

bg-image hides on mobile view

Hi @BWinter1 ,

You can try two methods  and make changes in main css which ever you have attach here 

 

webdew_0-1643466558880.png

 

Search for bg-image and remove display none from css as shown like below snippet 

 

.section-bg{

  background-size: cover!important;

  background-position: center center!important;

}

 

.section-bg .bg-image{

  display:none!important;

}

 

Or give height something like 300px to image in mobile view 

 

@media (max-width:767px){

.your-main-class .img{

height:300px!important;

}

 

}

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards. 

0 Upvotes
BWinter1
Member

bg-image hides on mobile view

Hi Kevin, 

 

Here a link to one of the pages with the challenge. 

 

https://www.amerifirst.com/cynthia-thomas

 

Thank you for your help!

 

Bryan

 
0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

bg-image hides on mobile view

Hey @BWinter1 


if you could post a public link to the page I'm sure we can diagnose rather quickly. 

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
0 Upvotes