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

CSS to adjust padding on specific page section on mobile


LLove

Question

Hello!

I am looking for help with some CSS to adjust the padding on a specific page section on mobile. I'm using Brine 7.0 template.

I've attached a screen grab - I want to reduce the negative space at the top of the image so it is equal to the padding on the sides.

This is the code I have tried but it isn't working. The image is on the Index page and I put the sections url slug as my page section. Is that correct? Are you able to tell me why this code may not be working? I'm very new to this so would appreciate any help!

@media only screen and (max-width: 768px) {
   #Index-page discover-lottelove .content-wrapper {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
}

 

Please let me know if you can help - thanks in advance! :)

Screen Shot 2021-07-23 at 11.58.21.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

Hi. Can you share link to page in screenshot? We can check easier

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...