Jump to content
Sign in to follow this  

Place a logo right inside primary nav bar

Recommended Posts


Hello, I'd like to place a clickable logo in the main-nav, float to the right. Like this image: nav_logo.png I tried to hook it in the function.php in platformbase theme, with

	add_action('pagelines_inside_bottom_primary-nav', 'add_yoga_logo');
	function add_yoga_logo(){
<?php } [/code] and add the following code in style.css
[code] #yoga-logo-nav{ float:right; }
It comes out like this: logo_offplace.png Then I tried to fix it by modifying #nav_row css property, in platformpro settings->custom code with
	#nav_row .main_nav .fix:after
	{	clear: none;

But it looks still the same. Which element should I modify?

Share this post

Link to post
Share on other sites
Hi I just tested this and found a solution. You will want to set .main-nav to a width that is less than the page width, to allow room for the image. And then float #nav_row left: [code] .main-nav{ width:700px; } #nav_row{ float:left } [/code]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this