- This topic has 15 replies, 3 voices, and was last updated 8 years ago by
Tom.
-
AuthorPosts
-
April 1, 2018 at 8:43 am #537862April 1, 2018 at 10:19 am #537935
Tom
Lead DeveloperLead DeveloperThat site is using the Secondary Navigation set to float right.
Then they added icons to the menu using this method: https://docs.generatepress.com/article/adding-icons-to-menu-items/
April 1, 2018 at 6:05 pm #538194elsa
Hi Tom, how to make it 2 rows in desktop?
While on mobile, how to make it appear in 1 row below header, since I already use slideout menu.
April 1, 2018 at 9:21 pm #538248Tom
Lead DeveloperLead DeveloperCan you show me what you mean by 2 rows? Any examples?
April 2, 2018 at 2:20 am #538393elsa
As follow,
While in mobile, how to put it 1 row below header.
April 2, 2018 at 2:20 am #538395April 2, 2018 at 2:22 am #538396April 2, 2018 at 7:26 pm #539230Tom
Lead DeveloperLead DeveloperI wonder if it would be better to use a plugin like Lightweight Social Icons inside the Header widget area?
That way you should get two rows automatically.
April 2, 2018 at 8:06 pm #539256elsa
Hi Tom,
Thanks I’ve already use the plugin and insert within the widget. I still haven’t found out how to make it 2 rows, there is no setting option in the plugin. Also how to make it appear on mobile phone?April 2, 2018 at 9:17 pm #539297Tom
Lead DeveloperLead DeveloperYou can set the header widget width to make them appear in rows. The width depends on the number of items:
.header-widget { max-width: 150px; }Where would you like them to appear on mobile?
April 3, 2018 at 12:05 am #539384elsa
Hi Tom,
I’d like to put it under header on mobile phone.April 3, 2018 at 9:03 am #539904Leo
StaffCustomer SupportApril 3, 2018 at 10:24 am #540014elsa
Hi Leo,
It moved the logo, but the widget didn’t appear.April 3, 2018 at 10:00 pm #540505Tom
Lead DeveloperLead DeveloperSince you’re using the mobile header, you’ll likely need to create a separate widget for it.
1. Install and activate this plugin: https://en-ca.wordpress.org/plugins/widget-shortcode/
2. Add a new Lightweight Social Icons widget to the area it creates, and grab the shortcode.
3. In GP Hooks, do this in the “After Header” hook:
<div class="mobile-social-icons hide-on-desktop hide-on-tablet"> SHORTCODE IN HERE </div>April 4, 2018 at 8:06 am #541036elsa
Cool! working like a charm!
-
AuthorPosts
- You must be logged in to reply to this topic.