mcreel Posted January 9, 2022 Share Posted January 9, 2022 Site URL: https://www.blackroninpro.com/ Hey all! I need some help changing the background color of a split layout section on my homepage. I've used custom css to push the image to the left and the content to the right. However, the css I'm using uses the image as the background. So, I'm having trouble figuring out how to change the background color of the content side. It's currently grey and I would like to change it to white. The theme editor is only changing the font color and not the background of the section. Any assistance would be very appreciated! password: Ronin Link to comment
Beyondspace Posted January 9, 2022 Share Posted January 9, 2022 3 hours ago, mcreel said: Site URL: https://www.blackroninpro.com/ Hey all! I need some help changing the background color of a split layout section on my homepage. I've used custom css to push the image to the left and the content to the right. However, the css I'm using uses the image as the background. So, I'm having trouble figuring out how to change the background color of the content side. It's currently grey and I would like to change it to white. The theme editor is only changing the font color and not the background of the section. Any assistance would be very appreciated! password: Ronin You can try adding to Home > Design > Custom Css section[data-section-id="60abf58c4582e538a24d370c"] { .content-wrapper { background: transparent; } background: #fff; } Let me know how it works on your site Support me by pressing 👍 if this useful for you mcreel 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
mcreel Posted January 9, 2022 Author Share Posted January 9, 2022 Thank you for getting with me on this! It works awesome on the desktop view, however, it's not working on the mobile view. I've used css to make the image transparent and just show the content on the mobile view. How can I apply this to the mobile version as well? Link to comment
tuanphan Posted January 10, 2022 Share Posted January 10, 2022 8 hours ago, mcreel said: Thank you for getting with me on this! It works awesome on the desktop view, however, it's not working on the mobile view. I've used css to make the image transparent and just show the content on the mobile view. How can I apply this to the mobile version as well? Use this code for mobile /* Mobile - Who is BRP */ @media screen and (max-width:767px) { [data-section-id="60abf58c4582e538a24d370c"] .section-background { background-color: white !important; } } mcreel 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
mcreel Posted January 10, 2022 Author Share Posted January 10, 2022 Works great. Thank you so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment