How to edit Wordpress menu to make a two-line menu? - html

I am trying to edit my wordpress page to make every menu item at the top of the page two lines long with the top line being a single word (ie: Home, About, etc.) and another line in a different font underneath each item (ie: "Read about us" underneath "About").
Here is an example of what I mean:
http://images.sixrevisions.com/2009/04/13-26_css_block_menu.png
I am aware that this is achieved in some way by using the 'Description' box on the Wordpress menu screen, and I have checked the 'show descriptions' box, but I'm unable to get it to display correctly.
Any help is greatly appreciated!

You do this by creating a custom walker which extends the Walker_Nav_Menu class - here's a good tutorial on it;
http://www.kriesi.at/archives/improve-your-wordpress-navigation-menu-output

Related

How to make an on click collapsible list using html and CSS

when i click on the arrow or the name the list drops down
this is how the expanded list looks like
how do I get this type of collapsible list using html and CSS
I tried it with details and summary tags but it puts the list further away from the other normal lists is there any other way to achieve it.
The question is already answered on stackoverflow and on the internet. Make sure to do some research before asking.
Here are some links: 1. Link 1
2. Link 2
You can take some ideas from these two and make your own custom dropdown.

I have a problem with my blogger site.When in my mobile mode

When I click on the point A the drop-down menu appears, but when I tap on point B(see photo) it doesn't and appears but it redirects to a blank page. the photo link is attached
https://drive.google.com/file/d/1cCCO7XthdYpuLoStj-jqgFuc6Ckssubs/view
The Dropdown menu should also appear by clicking the text(JEE)
here is the XML code of my template
https://drive.google.com/open?id=1WTVVltq1ucpOnIRWW_qyw84y6w9VZBeE
Hey there, its a normal thing to implement.
According to your question, I guess that you are working on a custom
coded theme and I assume you can code easily in header.php
Her is a plugin : jQuery Accordion MenuJQuery Accordion Menu Widget
(JQuery Accordion Menu Widget)
This plugin will add a widget in Appeareance > Widgets.
Step 1 : Create a dynamic sidebar and load this widget within that and
set all settings.
Step 2 : Go to header.php and create 2 div within a parent div.
like,
Step 3 : Load your dynamic_sidebar() in div.menu-code
Step 4: Add a hanburger icon in div.icon-hamborger
Step 5: show div.mobile-menu-container in mobile size ( <=768px ) only
Step 6 : Hide div.menu-code on load and show div.icon-hamburger only
Step 7 : code within jQuery, if you click on hamburger-icon, that will
show div.menu-code with a sliding effect
That's all.
Good luck ;)
https://www.quora.com/How-do-I-make-my-menu-as-a-drop-down-in-mobile-mode

R flexdashboard side-bar menu

I was wondering if its possible to recreate a shiny-dashboard like menu in flexdashboard?
I'm using flexdashboard with crosstalk. In the current setting I'm having too many inputs in the sidebar. So basically, I'd like hide them like submenu items in foldable menu items.
Any ideas how I can pull this off? I'm guessing its possible to use external css/bootstrap elements.
Many thanks

Repeat textbox on each page in a report

i have a report which contains a vertical text on the right side of the page. This text appears in the first page. But my customer wants that text appears in every single page of the report. How can i make that text appears in every single page of the report? I can't move that text to the header neither to the footer. I put a photo which can describe my wish. I want that '2.10-F38 Rev.6' appears in every page. It is in the body. Could anyone help me?
The only way I got around this issue was to create an image with the vertical text and add it as a "BackgroundImage" to the "Body" element...
It's a horrible solution at a technical level but if you think about it many companies buy their A4/Letter paper from printing services with the company header logo and details already printed... So it doesn't make me feel so bad.

Making a TabNav work correctly

commerce site that has a particular tab navigation code that allows users to click and view information.
The Tab Nav looks like this:
Details | Shipping | Returns | Lifestyle View
When you click on anyone of these a paragraph appears below the tab with more information. What happens though is that all the other list items get pushed below the paragraph rather than staying in their current positions. So for instance if I click on "Details," the "Shipping," and "Returns," tab gets pushed down. I would like all the menu items to stay intact and just have the paragraph appear below each menu.
Any help would be greatly appreciated.
the page can be found at:
http://babsandmickieco.myshopify.com/collections/clothing-all/products/sana-dress#
As I've demonstrated in this JSFiddle, it really is a case of just appending an in flow element onto the list item. In the example I have provided, I used the following jQuery code to append a paragraph element (P) to a List item element (li).
Snippet
$("#clickAble").click(function(e) {
$("#clickList").append($("<p id='appended'>Hello</p>"));
});
As you can see, it's fairly obvious what his does. This created something of a rough example, but it's a working example nonetheless.