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:
Thank you in advance.
M
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>
Viewing 15 lines of 82 lines. View entire code block.
Thank you in advance.
M

In the sitemap you can click on a page and at the bottom you can add an external link.
Hi Kurtopsy,
thanx for fast help.
Can you go more in to details please?
Thank you for you time man!
M
thanx for fast help.
Can you go more in to details please?
Thank you for you time man!
M
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.
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.
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.
Hi diorist,
sure, here is the link:
http://www.graviton-musicservices.com/index.php...
Thanx for help.
sure, here is the link:
http://www.graviton-musicservices.com/index.php...
Thanx for help.
I'm still chasing my own tale... :(
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.
It's weird, cause in footer is working ok...
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...
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...
Hi irsah,
thanx for help. I'm scratching my head how to do it right...
thanx for help. I'm scratching my head how to do it right...
I think the Fb iframe is overlapping... because your search bar works...
You were right man! Fb iframe is overlapping!
Thanx amigo!
Thanx amigo!
Your Welcome.. glad to help out...
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;
}
#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;
}
paste into main.css?
#page #header #headerNav is in main.css. The iframe style is defined in the element itself.
We are getting there... would be perfect if we can get Fb like more to the top...
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.
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?
Is it possible to hardcode like_button block somehow that it wont overlap social icons?
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.
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.
Yes, agreed here... good point.. should take in consideration.
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.
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.