Site logo

Archived topic

Remove margin below and above menu image.

15 replies · Started by User on April 11, 2023

Viewing posts 1–15 of 16

Hello,

I run https://yourglobalgamer.com/

The menu has an image button that says "Free Games" in the top-right.

I want there not to be a margin above or below the image.

Here is an example of the look I want:
https://www.pcgamesn.com/

In other words, I don't want the blue to be below or above the image; the bottom of the header navigation bar should also be the bottom of the image and vice versa.

Yes, exactly that! :)

Hey,

I've already added the image.

Please look at the top-right corner.

It says, "Free Games"

Is this only available to GP Premium users?

Yes, it is.

Can you provide me with Custom CSS so I can apply this code to my extensive list of websites.

Try this:

header .inside-header {
    padding-top: 0;
    padding-bottom: 0;
}

You can also add this to make the image's height equal to that of the Header:

span.menu-image-hover-wrapper img{
    height:62.5px !important;
}

Hello,

I added the code, and it almost worked; however, there is a small gap above the picture.

I'm not seeing the code added on the site linked. Did you remove it?

If you didn't, can you clear all caching mechanisms set on your site?

I can't log in properly, unfortunately.

Would you mind assisting me here instead.

This archived topic is closed to new replies.