Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

Indexhibit was updated to version 2.1.4 on April 10, 2017.

Put a link on a fixed position header.

 

Indexhibit version: 2.0
Thread is resolved.

amandine
FRANCE
5 year(s) ago
Permalink Post

Hi
I tried to put a link on my header which has a fixed postion.
I put those codes:
on my index.php


shockinghorses.com">

and on my style.css:

#header { position: fixed;
background: url('shockinghorses.com/files/gimgs/…')no-repeat center center;
height: 84px;
width: 100%;
top: 35px;
left: 0px;
z-index: 9999; }

Then my logo appears twice( one is a link but not with the right size, the oher one is not a link but appears with the right size)
I would like to know what's wrong with my code? I tried to find/change things, nothing is working
Thanks for your help!
shockinghorses.com/

amandine
FRANCE
5 year(s) ago
Permalink Post
I meesd up with codes
index.php



style.css
and on my style.css:

#header { position: fixed;
background: url('shockinghorses.com/files/gimgs/…')no-repeat center center;
height: 84px;
width: 100%;
top: 35px;
left: 0px;
z-index: 9999; }

arsondpi
GREECE
5 year(s) ago
Permalink Post

I viewed your code. Obviously the following is wrong...

  1. <img src="header"/>

Use a url address.

amandine
FRANCE
5 year(s) ago
Permalink Post

Thanks;
But when I put a Url adress, it's even worst; I just did and you can see the mess...

arsondpi
GREECE
5 year(s) ago
Permalink Post

I'm not sure of what you're trying to do... You already have your logo there...

Anyhow - apart from the correct url you need to set width, height and alt properties.

amandine
FRANCE
5 year(s) ago
Permalink Post

I just want to put a link on my logo to send le back to my home page and until now it's not working...

amandine
FRANCE
5 year(s) ago
Permalink Post

I will figure out, thanks for your help anyway

Showing 1 - 7 of 7 posts in Forum » Customize » Put a link on a fixed position header.
 

This thread has been closed, thank you.