Custom coding help

I need section 1 including nav bar all the way edge to edge to be the same color as the uploaded background image (I have hex codes). These are uploaded pngs into the body with a custom page template only. I cannot edit the main theme, only this page.

Section 2 would then need to be another background color edge to edge, and then the remainder will be a white background to the footer.

These “sections” are only separated as 3 pngs uploaded, not sections in the page, so we need the code to correspond to the size of the uploaded png and extend to full width.

Not able to share the site publicly.

I need custom coding to input. Anyone able to help?

Hi @britttay13 ,

Sure, I can help with that. You’ll need to use CSS to achieve the desired layout and styling. You’ll want to target the specific sections using their class or ID and then apply the appropriate background colors. Additionally, you may need to adjust the width of these sections to ensure they span the full width of the viewport. Let me know if you need further guidance on the specifics of the CSS code.

Let me know if you need help.

Best Regards,
Sandeep

Below is the code for the entire page. I only removed the img src links. I need each image to push 100% to the edges. I also need the nav bar to match the background of the first image.


html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background-color: #617217;
}

data-mce-fragment=“1”
src=
alt=“”
width=“100%”
height=“100%”
data-mce-src=


html, body {
height: 100%;
margin: 0;
padding: 0;
}

alt=“”
width=“100%”
height=“100%”
src=


html, body {
height: 100%;
margin: 0;
padding: 0;
}

/* Additional styles for your content /
.content {
background-color: #FFFFFF;
height: 100%; /
This will make the content fill the available height */
}

data-mce-fragment=“1”
alt=“”
width=“100%”
height=“100%”
src=
data-mce-src=

I was wondering if you would be able to help me

  • CSS class selector btn-addtocart needs to be added to the “Add to Cart” button HTML