Hello,
I have an image in my main header nav.
And randomly it moved lower on the nav.
I’ts supposed to be centered vertically and horizontal on the nav panel.
Can you tell me what happened and how to fix it?
It looks awful out of nowhere now.
This is the CSS
@media (min-width: 980px) {
.noob-fix{margin-top:-42px;}
}
This is the image coding in the menu
<img class="noob-fix "src="https://vitalitycbd.com/wp-content/uploads/2018/08/New-Vitality-Logo-V2-100x100.jpg">
The only CSS I’ve added recently was a short snippet to center all images in on the page within their columns.
I thought maybe that skewed it off the vertical alignment but removing that code and resaving it didn’t resolve it.
here’s that code just in case:
.x-img{
display:block;
margin:0 auto;
}
Thank you!
Jesse