-
AuthorPosts
-
August 27, 2013 at 9:54 pm #28554
Hi, I want to place a ticker right below the log and menu, i want it to be visible when the user scroll down the page (The same as the logo and menu).
Hope yo can help.
Thank you!
August 28, 2013 at 8:15 pm #137918Hi trap,
You could add the content into the header.php file just after where the menu is called or even just before it. You will still need to do a good bit of css fixes to keep it from causing issues with cross browser compatibility and responsive changes.
Regards,
Devin
August 28, 2013 at 8:57 pm #137919I’ve already done that, but what i want is to get that ticker fixed, the same as the logo and the menu.
Here is what i’ve already done http://gryp.mx/wp/
Thanks for your help!
August 28, 2013 at 9:17 pm #137920I’ve done what you told me and i get this error when loading the page
Parse error: syntax error, unexpected ‘<‘ in /home/content/16/9955616/html/wp/wp-content/themes/enfold/header.php on line 171
Here is how i placed the code:
/*
* display the main navigation menu
* modify the output in your wordpress admin backend at appearance->menus
*/
$extraOpen = $extraClose = "";
if(strpos($headerS,'bottom_nav_header') !== false){ $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>"; }
echo $extraClose;
echo "<div class='main_menu' data-selectname='".__('Select a page','avia_framework')."'>";
$args = array('theme_location'=>'avia', 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu());
wp_nav_menu($args);
echo " </div>"
;
<div id=content>
<!-- EXCHANGERATES.ORG.UK LIVE FOREX RATES TICKER START -->
<script type="text/javascript">
var w = '1200';
var s = '1';
var mbg = 'FFFFFF';
var bs = 'no';
var bc = '000044';
var f = 'verdana';
var fs = '10px';
var fc = '000044';
var lc = '210000';
var lhc = 'FE9A00';
var vc = '000044';
</script>
<script type="text/javascript" src="http://www.currency.me.uk/remote/CUK-LFOREXRTICKER-1.php"></script>
<!-- EXCHANGERATES.ORG.UK LIVE FOREX RATES TICKER END -->
</div>;
?>
<!-- end container-->"August 28, 2013 at 11:16 pm #137921Sorry for all this replys, i have already managed to place the ticker, i just want to make the banner start below the ticker
August 30, 2013 at 1:36 am #137922You can change the value of the padding for the main ID with:
.fixed_header #main {
padding-top: 208px;
} -
AuthorPosts
- The topic ‘Place an element below the logo and menu’ is closed to new replies.