header.php help

Permalink
Hi.

Don't know what I'm doing wrong, but my social icons in the right corner won't link to external sites. I'm scratching my head but not enough I guess. :0) Can any body help please?

Here is the code:
<?php  defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<!-- Site Header Content //-->
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('main.css')?>" />
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>" />
<?php  Loader::element('header_required'); ?>
</head>
<body>
<div id="page">
<br />
<br />
<div id="headerSpacer"></div>


Thank you in advance.

M

graviton
 
Kurtopsy replied on at Permalink Reply
Kurtopsy
In the sitemap you can click on a page and at the bottom you can add an external link.
graviton replied on at Permalink Reply
graviton
Hi Kurtopsy,

thanx for fast help.
Can you go more in to details please?

Thank you for you time man!

M
Kurtopsy replied on at Permalink Reply
Kurtopsy
Hi graviton,

When you make the external link you can name it. The URL will look like this... yourDomain.com/externalLinkName

Looks like you're hard coding this, so just put that in your href.
diorist replied on at Permalink Reply
diorist
Can you provide a link to the live page? It'd be helpful to see what's displaying, in addition to what's behind it.
graviton replied on at Permalink Reply
graviton
Hi diorist,

sure, here is the link:

http://www.graviton-musicservices.com/index.php...

Thanx for help.
graviton replied on at Permalink Reply
graviton
I'm still chasing my own tale... :(
Kurtopsy replied on at Permalink Reply
Kurtopsy
So hard coding it doesn't work?? Plan B: Make it an area, put a content block in and add the image. Click the image and click the add link button. Choose the external link you created earlier.
graviton replied on at Permalink Reply
graviton
It's weird, cause in footer is working ok...
irsah replied on at Permalink Reply
irsah
Hi,

Wow you guys are fast.. Nice site.. but I think your header nav div is position on top (overlapping) your logo/banner/social icons div/table.

Try to reduce height or remove it and see what happens... *edit* I Mean comment it out with a test page...
graviton replied on at Permalink Reply
graviton
Hi irsah,

thanx for help. I'm scratching my head how to do it right...
irsah replied on at Permalink Best Answer Reply
irsah
I think the Fb iframe is overlapping... because your search bar works...
graviton replied on at Permalink Reply
graviton
You were right man! Fb iframe is overlapping!
Thanx amigo!
irsah replied on at Permalink Reply
irsah
Your Welcome.. glad to help out...
diorist replied on at Permalink Reply
diorist
I think this would fix it:

#page #header #headerNav {
overflow: visible;
position: absolute;
right: 0;
top: 40px;
width: 100%;
z-index: 2;
}

#headernav iframe element.style {
border: medium none;
float: left;
height: 80px;
width: 450px;
}
graviton replied on at Permalink Reply
graviton
paste into main.css?
diorist replied on at Permalink Reply
diorist
#page #header #headerNav is in main.css. The iframe style is defined in the element itself.
graviton replied on at Permalink Reply
graviton
We are getting there... would be perfect if we can get Fb like more to the top...
diorist replied on at Permalink Reply 1 Attachment
diorist
Not sure what you mean. Granted, though, I only tested in FF. In that browser, with the style changes ( plus another 20 on the #headernav top spacing), your buttons look aligned. The FB button just opens a new tab. See attached ss.
graviton replied on at Permalink Reply 1 Attachment
graviton
hm, I tested in Firefox, Chrome and Opera, and all are showing the same, please check the attachment picture. I used your code for main.css.

Is it possible to hardcode like_button block somehow that it wont overlap social icons?
diorist replied on at Permalink Reply
diorist
Oh, right. Forgot to pause Ghostery...seeing it now.

Can you put the fb Like button in the same table as the other social icons? That should separate them and align them automatically, right? Plus, it would put fb like in a different div than your search box.

I may be thinking about this wrong, but the problem seems to be that, if the search is aligned right and fb like is aligned top, that div is always gonna overlap and obscure the links in your other buttons.
irsah replied on at Permalink Reply
irsah
Yes, agreed here... good point.. should take in consideration.
graviton replied on at Permalink Reply
graviton
Thanx for your time guys.

I simple redesign template by removing soc. icons at the top of the site. Not as I planed, but you have to compromise sometimes...

Thanx agin,

M.