Site logo

Archived topic

Merged Site and page header top right position for text info

5 replies · Started by Ron on June 20, 2018

Viewing posts 1–6 of 6

Hello GP
I’m a newbie trying to recreate my website on GeneratePress Version: 2.1.2 with GP Premium Version 1.6.2
I could use a little assist with some html code (my first attempt at using html)
I have Merged Site and page headers
I want the contact text info to be in the top right position of header area
I have only been successful in getting it at the bottom right
I m sure the are many ways to accomplish this but I want the best way for page speed
Thanks for your response in advance
Ron

Hi Ron,

You can add the content to the Header Widget area instead, this defaults to the top right of the page. You can just add content using a HTML or Text widget.

David
Thank you for help, now have info in proper location in header

I have follow up questions
what html code is required for click to call for mobile only
here is the current code in header widget

Phone Number : 1.###.###.####<br/>
Email: info@domane.com<br/>
address<br/>
city, state zip
Thanks Ron

Hi Ron,

there's a few workarounds this one uses the inbuilt hide classes with GP. So two lines, each one being displayed accordingly:

<a href="tel:1##########" rel="nofollow" class="hide-on-desktop hide-on-tablet">Phone Number : 1.###.###.####</a>
<p class="hide-on-mobile">Phone Number : 1.###.###.####</p>

Thanks David
code did the job
Im sure there will other issues for your patient input
Ron

Glad to be of help!

This archived topic is closed to new replies.