Archived topic
3 different alignments in the same line
5 replies · Started by Evadex on November 22, 2017
Hi GP,
I watched the video about Hooks to put a bar on the top. I would like to align 3 words just on the same line, the first aligned on the left, the second on the center and the third on the right. To do that, I thought to use "Lightweight Grid Columns" (I could give you my code later if you want).
Unfortunatly, there is a line below the 3 words (or 3 columns).
I would like just one line, a small line, with 3 words aligned differently :-)
Have you got an idea to do that ?
Thank you Tom or Leo in advance I suppose :-)
Thank you for your help and best regards.
Yvan, from France
(My config : Last version of WordPress and GP Premium)
Hi there,
Can't quite picture what you mean.
Can you provide a link to your site so I can see what you have right now?
Or an example of what you would like to achieve will also help :)
Let me know.
Hi Leo,
Thank you for your help.
After your answer, I received a mail. After that I answered of this mail with an example of the top bar in attached file.
I added the number of this topic (#430944) in object.
Thanks an other time for your help.
Best Regards
Yvan
Hmm to create something like that, you'd have to use the Before Header Hooks:
https://docs.generatepress.com/article/hooks-overview/
http://demo.generatepress.com/hook-locations/
Then create column: https://docs.generatepress.com/article/creating-columns/
For future reference please upload screenshot to a site like this and provide the direct link: https://postimages.org/
Thank you for your help, I founded a solution.
Have a good day and long life for GP ;-)
Best regards
No problem!