themes – I am having trouble displaying an image at the top of a widget area
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Asked
Viewed
7 times
I am using the Graphine Theme and have dynamically added a widget area (at the bottom, in the middle of the footer area). When I put the image code into the widget area, the image displays down the page and makes the entire footer longer. If I just type letters into the widget area, they appear at the top of the widget as it should. I have tried using an HTML widget, but to no avail. I have also tried just using the image widget, but have no control over where the image appears. I am trying to make the image appear centered at the top of the widget area. According to where the letters appeared when I typed them into the same widget area, I think the image would appear at the top of said widget area(between the copyright info and the Developer info). Below is a shot of the back end.
Thank you in advance for schooling me on how to make this happen.
K.Kessler is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
If you go to developer tools, you will understand that the dynamic widget does not have a width.
So just give it max-width: 30% (like in the first widget) and float: left
Simone1995 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
lang-css
Leave an answer