Hi team,
I’m trying to make my colour section a little thinner in height. It seems I can only get it down to 100px.
I have a blue colour section on the home page with our capability statement to download.
I need it a little smaller, maybe 70px
Please help :)
Lara
Hi Lara
Could you please post a link to your website here so I can see the color section in action?
Cheers
Michael
Hi Michael,
Hi Lara
This CSS code should work if you insert it into quick CSS:
#av_section_3 {
height: 70px !important;
}
Cheers
Michael
Hey Michael,
Height is good, however the text and button are no longer centered to the colour section
Isn’t the text element and the button inside the color section?
You might also have some margins or paddings active which is why it is not horizontally centered anymore.
Hey Michael,
Yeh they’re both inside the colour section.
I removed padding but it’s still not centered to the colour section
Ah I see!
Now it is too much at the top. So I suggest adding a bit padding again (not as much as you had previously) and it should be perfectly fine.
Hi Michael,
None of the padding options centre the text and button. I had it on default before within the colour section.
Hi Lara
Interesting – is there a chance I can check it in the backend by myself?
I would need a login for that please.
You should be able to assign a specific CSS identifier to that element and then define some space for it.
Cheers
Michael
Hi Michael,
Is there a way I can send you private data?
Please click at my picture and you should find it.
Hi Lara,
https://cl.ly/153be7848594 The button is centered vertically, do you mean you need it centered horizontally?
Best regards,
Victoria