[Resolved] Merged Site and page header top right position for text info

Home Forums Support [Resolved] Merged Site and page header top right position for text info

Home Forums Support Merged Site and page header top right position for text info

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #604883
    Ron

    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

    #605084
    David
    Staff
    Customer Support

    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.

    #605125
    Ron

    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

    #605130
    David
    Staff
    Customer Support

    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>
    #605478
    Ron

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

    #605479
    David
    Staff
    Customer Support

    Glad to be of help!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.