Archived topic
Center HTML sidebar Widget
3 replies · Started by Conor on September 8, 2019
I've added image links of book covers in the custom html widget, I just don't know how to centre the images in the widget sidebar box, and I don't know how to put space between the images that are one on top of the other.
I also don't know how to center the button right above the images. "Smart Teacher Button"
Thanks in advance for your help.
C
Hi there,
Try this CSS:
.sidebar #custom_html-3 {
text-align: center;
}
.sidebar #custom_html-3 img {
padding-bottom: 15px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Thanks so much. Love you guys
No problem :)