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

Mobile view change height only?


JamieB21

Question

Site URL: https://www.giant.space

image.thumb.png.b31a131e1826a7b58d8de318ed681ddb.png

 

 

I have tried;

@media screen and (max-width:767px) {
[data-section-id="60fe9c2f6afa3c563d77b71f"] {
    min-height: 27vh !important;
}
[data-section-id="60e6ebcb59b8474717d5845f"] + section {
    min-height: 27vh !important;
}
}

 

 

mobile looks great when the height is set to 27 

 

image.png.9fc3bc0ce8f2d3c64d926a935502448a.png

 

But when I try to set desktop as well it changes both sections.

Any help with this would be greatly appreciated! 

 

 

 

image.png

Link to comment
  • 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

You mean you want to keep height in desktop & change height on mobile only?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

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


×
×
  • Create New...