Trying to move image filled menu in top bar
-
Hey all,
Relative noob to WordPress, so please be gentle. I’m using the Virtue Child Theme for my website at https://literaturegroup.com.
I’ve replaced my menu items with images and love the new look. It’s minimalistic and exactly what I’m trying to do. I’m doing it with this code:
<div style="background-image: url('/wp-content/uploads/Literature-Group-LOGO-3312x396-e1412800319309.png'); background-repeat: no-repeat; float: left; display: inline; margin: 0; padding: 0 0 0 0;"></div>
However, if you look at the images you can see that they are hugging the top of the top bar. I would like to center them vertically, no matter how tall I set the top bar.
I’ve tried setting the “margin-top: 10px”, played around with different padding levels (20px 0 0 0), and tried to use “padding-top: 10px”. None of which are helpful.
Been trying to find the answer, but I’m really striking out. Any help would be very appreciated!
- The topic ‘Trying to move image filled menu in top bar’ is closed to new replies.