Akhil
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
How to add Menu Item Descriptions to your theme?
Gestartet von: andrewW-8
in: Toolset Professional Support
Problem: Solution: Basically you can enable it in our Toolset Starter theme by following these steps: 1. Please install & activate Toolset Starter Child theme and add the following code in Child theme’s functions.php file (e.g. after line #10): // Menu Item Description function nav_menu_description( $item_output, $item, $depth, $args ) { if ( !empty( $item->description ) ) { $item_output = str_replace( $args->link_after . '</a>', '<span class="menu-item-description">' . $item->description . '</span>' . $args->link_after . '</a>', $item_output ); } return $item_output; } add_filter( 'walker_nav_menu_start_el', 'nav_menu_description', 10, 4 ); 2. After that please add CSS for menu item description in Child theme’s style.css file, you can modify the CSS style of the description as required: .menu-item-description { display: block !important; font-size: 13px !important; font-weight: normal !important; } Now you can add descriptions in your WordPress menu items (see doc link below), and it will display Descriptions for each menu item. Relevant Documentation: |
2 | 5 | vor 7 Jahren, 7 Monaten | ||
How can I make the menu full width?
Gestartet von: rolandP
in: Toolset Professional Support
Problem: I would like to make the background behind my main menu stretch across the entire screen, instead of being limited by the menu width. Solution: 1. Edit the row in your Layout that contains your menu. Make sure that the option "Row background extends to full width" is selected. 2. In optional Tag classes for this row, add "my-full-menu-container" and save the Layout. 3. Go to Toolset > Layouts CSS and JS. Scroll down to the bottom and add the following code: .my-full-menu-container { background: #ff3b3b; } .ddl-nav-wrap, body .ddl-nav-wrap.ddl-navbar { margin-top: 0; margin-bottom: 0; } 4. Replace "#ff3b3b" with the hexadecimal color value of your menu. If you are not sure what the hexadecimal color value is, you can find it by going to Appearance > Customize, then clicking "Colors". You can find the current hexadecimal value by clicking the "Select color" button. 5. Save this code and refresh your page. Relevant Documentation: https://toolset.com/documentation/user-guides/learn-how-rows-can-displayed-different-ways/ |
2 | 3 | vor 7 Jahren, 7 Monaten | ||
Auto Generate Post Title and Name/Slug by Combining Other Fields
Gestartet von: davidT-17 in: Toolset Professional Support |
2 | 10 | vor 7 Jahren, 8 Monaten | ||
How do I restrict fields and access buttons from regular users?
Gestartet von: sidianJ in: Toolset Professional Support |
2 | 5 | vor 7 Jahren, 8 Monaten | ||
admin-ajax-php css Loading and theme.css vs. bootstrap.min.css
Gestartet von: christianS-8 in: Toolset Professional Support |
2 | 5 | vor 7 Jahren, 8 Monaten |