Remove hover menu on category click - wordpress

I have a WordPress website and I use the Woodmart theme. When I click on a category, the menu is transformed into a hover menu and I want to remove this. Is it possible? I want to be every time like in the picture, not with hover.

There is not enough info to get a suitable answer, please explain how you want the categories to be listed.
other than that, you can always go to the "Customize" section (located on the page header).
A sidebar editor appears on the left, from there you can go to "Header"
Then scroll down till you see "Header Main"
from there you can customize your pages' categories and other stuff as well like the header of your page.

Related

Show and hide pages in WordPress sidebar

I am using WordPress 6.0.2 and the Twenty Twenty-Two theme to build my website. Now I've noticed that new pages I create are automatically added to the sidebar (header navigation).
Is there a way to control which pages are added to the sidebar and which are not? For example, I created an imprint that I only want to link in the footer.
Is there also a way to manage this directly from the database? I would like it too.
Since you are using a WordPress made theme some settings can be enabled by default like auto add new pages to menu you can turn this off by going to customize > appearance > menus > and there should be a tick box that you can adjust to stop this from happening.
If this does not work go to the admin area which can be accessed by clicking the name of your website in the top black bar and head down to the appearance tab hover on it and click menus. This will allow you to edit specific menus with more options. If it is not there it may be a theme feature which you would need code for but i doubt you will need to go to this of an extreme.
No need to access the database , just go to appearance > customize> menus . Here you will see several menus , choose the menu that is used or customize a new menu as you want .
The same thing goes for the footer , but to edit the footer you also need to go to appearance > widgets , then look at the right and you will see the footer columns you can also add/delete the footer from here .

How do I highlight a tab in Wordpress for a post when the main menu item is a category?

On my Wordpress site I have the main primary menu set up with links to pages & top level categories. When I'm viewing a page the top menu highlights the proper menu item and all works just fine, but when I click on a post that falls under one of the category menu items it is not highlighted. I want the category menu item to highlight when I click on a post that uses that category. How would I accomplish that?
Website: http://deutschmetal.com If you click on this post: http://deutschmetal.com/deutsch-metal-videos/rammstein-herzeleid-videos/ you can see that the top menu link "Videos" is not highlighted. I would like it to be highlighted when viewing the post.
Wordpress detects it if a page is the child of a page in the navigation. It also adds a extra class to it, so you can create some new CSS to make it look the way you want. In your case this would be:
.current-post-parent.current-post-ancestor {
background: #cb0808;
}
You can add this in your Wordpress theme, or if you are not familiar with coding you can use the customizer's custom CSS that is supported is most of the themes.

Click to expand submenu instead of navigate to page in WordPress

I would like to be able to create a navigation menu in WordPress in which the top-level nav items are not pages, but rather menu headings, which expand the sub menu when clicked.
The default WP menu behavior is that all menu items are links to content (pages, posts, etc), and that sub-items are viewed upon hover.
I'm looking for a way to make it work more like the menu behavior built into Twitter Bootstrap (and for the same usability reason).
I'm looking for a solution that either already exists as a plugin, or which I can build into a plugin, so that anyone can create a new menu like this in the WordPress menu editor.
checkout this tutorial :
https://digwp.com/2011/11/html-formatting-custom-menus/
If you dont want any custom html structure than you can simply add the classed to menu and for top level menu create a custom link with # as href.

How to disable top page from dropdown menu wordpress?

I relly need help. I made a wordpress website, but i dont know how to disable top page from drom down menu.
I want to turn off page "Apartmani" because it is a empty page, so can you tell me how to disable that page and when you want to click on it nothing happens.
Here s the picture http://www.dodaj.rs/f/t/13H/495kOjY8/pitanje.png so i want to unable "Apartmans".
Thanks
The easiest way for you do do this is not to add this "Apartmani" as a Page in your menu, but as a simple link (as you can add custom links in your menu), with "#" as target. As is you will have a menu item that will handle its sub-pages, but this item will not lead to anything at all as long as the targeted link is #...

WordPress menu - Show a pop-up box when clicked

I would like to click or hover on the links on the right and have it bring up the associated page/post as a pop-up. I have used the primary WordPress nav menu, that can be edited from the dashboard. But WordPress menus contain either pages, links, or categories. What one of those three should I use in the menu, to bring up an associated pop-up? The pop-up will look like this:
I thought a post would be a good one. A page will take the user to a new page which is not really what we want. We want it all to stay on this page.
You should use "lightbox gone wild" from this link. I have used in my site and
it is working very fine. There are many features in it like, next-previous button, close
button, open popup inside popup. For any help you can contact me. I have used it in my site

Resources