- This topic has 12 replies, 4 voices, and was last updated 5 years, 6 months ago by Leo.
-
AuthorPosts
-
June 19, 2017 at 9:20 pm #335977Brenda
Hi Tom, I hope you or someone can help me with this. This is probably not as difficult as I have made it out to be, but I’m still in the learning process so… I saw this template (https://www.templatemonster.com/demo/62269.html) and I wanted I wanted to create a topbar similar to this one. I got as far as creating the topbar and adding color and one line of text. Any help would be very much appreciated.
Thank you.
June 19, 2017 at 11:59 pm #336029TomLead DeveloperLead DeveloperHi Brenda,
Which part exactly are you having trouble with? The social icons?
June 20, 2017 at 5:14 am #336151BrendaI would like to have three to four columns in one row. Right now, the information is stacked one on top of the other. I am using the code below. And yes, how would I add the social icons. I did download the Lightweight Social Icons widget, but not sure how to use it.
<div class="top-bar grid-container"> <div class="inside-top-bar grid-50"> Sample Content </div> <div class="inside-top-bar grid-50"> Sample Content </div> <div class="inside-top-bar grid-50"> Sample Content </div> </div>
June 20, 2017 at 5:29 am #336174BrendaHi Tom, the output from my last reply is showing the results of the code that I used and not the actual code itself. I want the output to be placed in a single row with the social icons on the far right.
Sample Content Sample Content Sample Content Social Icons
I hope this makes sense. Thank you.
June 20, 2017 at 7:54 am #336253LeoStaffCustomer SupportHi there,
I would recommend using the before header hook in that case:
http://demo.generatepress.com/hook-locations/
https://docs.generatepress.com/article/hooks-overview/Try something like this:
<div class="topbar grid-container"> <div class="topbar-left grid-33"> Sample Content </div> <div class="topbar-center grid-33"> Sample Content </div> <div class="topbar-right grid-33"> Sample Content </div> </div>
As for social icons, you can try Lightweight Social Icons plugin with Widget Shortcode:
https://en-ca.wordpress.org/plugins/widget-shortcode/Or just use the built in FontAwesome library:
http://fontawesome.io/icons/Let me know if you need more info π
June 20, 2017 at 8:12 am #336263BrendaHi Leo, thanks for the response. I placed the code in the before header hook, but what I get is each div stacked on top of the other as opposed to having them in a single row.
The code produces this:
Sample Code
Sample Code
Sample CodeInstead of:
Sample Code Sample Code Sample CodeJune 20, 2017 at 8:13 am #336265LeoStaffCustomer SupportHmm it shouldn’t. I just tried the code and they show up in one row.
Can you link me to the page?
June 20, 2017 at 8:29 am #336279BrendaI’m just getting started, but here’s the link.
June 20, 2017 at 8:34 am #336281LeoStaffCustomer SupportLooks like it’s what you wanted? https://postimg.org/image/5mwelpxcr/03bb8657/
If you are seeing something different, try clearing browser cache.
June 20, 2017 at 9:09 am #336301BrendaThank you for your assistance Leo,
I cleared my cache but for whatever reason, it still doesn’t show properly. I think I’ll try restarting my system to see what happens. And thanks for the suggestion to use font awesome for the social icons. I’ll give it a try.June 20, 2017 at 9:56 am #336338LeoStaffCustomer SupportSounds good. Let me know if you need more info π
October 18, 2018 at 10:13 am #704364Jose LuisHi!
I’m trying to do the same, but it is not working.
October 18, 2018 at 11:08 am #704419LeoStaffCustomer SupportHi there,
Can you open a new topic for your question?
This one is a bit old already.
Thanks π
-
AuthorPosts
- The topic ‘Topbar Design’ is closed to new replies.