Home › Forums › Support › How do I put social media icons on the left side of primary navigation bar?
- This topic has 13 replies, 3 voices, and was last updated 4 years, 1 month ago by
David.
-
AuthorPosts
-
February 18, 2019 at 5:09 pm #814067
Nicole
How do I put social media icons on the left side of primary navigation bar?
Currently, I have my menu items on the right.I want to enter this shortcode: [DISPLAY_ULTIMATE_SOCIAL_ICONS].
GeneratePress 2.2.2February 18, 2019 at 5:37 pm #814088Tom
Lead DeveloperLead DeveloperHi there,
Hard to say exactly without knowing what you want it to look like.
However, you can try:
1. Create a Hook Element: https://docs.generatepress.com/article/hooks-element-overview/
2. Set the hook togenerate_inside_navigation
3. Add this as your hook content:<div class="ultimate-social-icons"> [DISPLAY_ULTIMATE_SOCIAL_ICONS] </div>
4. Set your Display Rules.
Then you can add this CSS:
.ultimate-social-icons { float: left; }
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 18, 2019 at 5:53 pm #814101Nicole
It is displaying the actual shortcode, rather than the social media buttons. How do I get it to show the actual social media buttons?
February 18, 2019 at 6:00 pm #814104Tom
Lead DeveloperLead DeveloperAh sorry, make sure the “Execute Shortcodes” checkbox is checked.
Additional CSS is the perfect spot for that CSS π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 18, 2019 at 6:02 pm #814106Nicole
Good job Tom! You did it! Thank you so much!
February 18, 2019 at 6:04 pm #814107Tom
Lead DeveloperLead DeveloperYou’re welcome π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 19, 2019 at 9:55 am #814792Nicole
As an extention to the previous question: I moved the icons to a secondary navigation bar under my header image. How do I do the following center the social media icons? This CSS didn’t work:
.ultimate-social-icons {
float: center;
}February 19, 2019 at 3:28 pm #814973Tom
Lead DeveloperLead DeveloperI’m not seeing them on your site – are they still added?
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentFebruary 20, 2019 at 10:14 am #815812Nicole
I’ve re-added one social media icon for now. FB. How do I center it?
February 20, 2019 at 1:26 pm #815965David
StaffCustomer SupportHi there,
i can’t see the icon on the site? If you have added it can you clear any plugin/server caches?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 20, 2019 at 5:32 pm #816085Nicole
Sorry, it’s there now! Please re-check.
February 20, 2019 at 5:37 pm #816087David
StaffCustomer SupportTry this CSS:
.sfsi_widget { display: flex; justify-content: center; } .sfsi_widget .norm_row { width: auto !important; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/February 20, 2019 at 6:02 pm #816101Nicole
Resolved! Thank you!
February 20, 2019 at 6:07 pm #816102David
StaffCustomer SupportAwesome. Glad to be of help.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.