Jump to content

- - - - -

Adding Text Links Above Header Content

above header top of screen

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 dharmagate


    Advanced Member

  • Members
  • 65 posts

Posted 29 October 2012 - 05:50 PM

I am attempting to add a couple of text links above the white content box on this site:

Please Login or Register to see this Hidden Content

As you can see I have done this by adding the code below to the "Footer Scripts & Analytics" section:

Please Login or Register to see this Hidden Content

While this basically works, there are some issues.

1. The text links hide behind admin bar when logged in.
2. Placement not consistent on all browsers.

- when logged out, the placement looks great on mac version of firefox and safari but is too far left in chrome

- not tested with internet explore or any PC browser versions.

3. This code creates a huge page, if you scroll to the right as well. errrg...
4. Placement is totally off when someone zooms their browser in or out.

Ideally, the links would be exactly right aligned to the edge of the white box and still be visible with the admin bar.

I am not sure of the best way to do this. I really appreciate any advice you can give me. Thank you.

#2 James B†

James B


  • DMS Subscriber†
  • 5126 posts

Posted 30 October 2012 - 01:25 AM

Hi there

1) You can disable the admin bar by going to Users > Your Profile > Show Admin Bar

2) You might have to use some browser specific css but shrinking the width of the div might fix some of this.

3) Change the width of the div to 20%, this will get rid of the scrolling and keep the content contained inside the page.

4) I'm not sure what you mean by zoom in the browser. Is this on mobile devices?