Changing the height of the menu

Posted in: Newspaper
Post count: 54

Hello,

I made a child theme for Newspaper and I want to customize it for a bit. However, I can’t seem to find the css class for changing the height of the main menu bar. I spent the better part of today’s trying to modify this menu style and the height is simply not something I can modify at this point.

ps. I’m not looking for a theme option, I’m doing all the edits in the css/php side of my child’s theme.

Thanks in advance!

Post count: 23312

Hello vexx,

Sorry, the theme does not have any such an option that allows you to change the menu height, unfortunately! You should do it yourself through the code and if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry! For creating your own custom Code, please check the following useful tutorial from here -> https://forum.tagdiv.com/topic/changing-the-height-of-the-menu/

Thanks.

Post count: 54

Hey Catalin,

I know the theme doesn’t support that natively, that’s why I decided to create a child theme and modify the theme files manually. However, why I’m not a stranger do both css and php, I was looking for some pointers (or the file) in which the menu’s height is defined.

Thanks!

Post count: 54

I’ll give you an example, I’m using the header style 5 and the file associated with this header is parts/header/header-style-5.php . If I inspect the header menu element in Chrome, there is a style=”height: 60px” in the header’s div. This forced height is not present within any file and I can’t find it where it’s actually defined. I searched into the js theme file but couldn’t find any reference that can inject this style into this header.

Post count: 54

I found the solution, we can close this thread. Thanks!

Post count: 42

What was the solution?

Post count: 32

What was the solution?

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.