Adding text inbetween logo and mainmenu

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Feb 13, 2014 5:33 pm
Reply with quote
Report this post
Hi

Firstly I was a little dismayed to find the above positions aren't actually available, but that's not going to solve my problem, so not really relevant.

What I'm trying to do is add my telephone number between the menu and the logo on Simplicity. After hours of fiddling, I'm not the best with code or markup, the below thread almost solved my problem.

http://www.gavick.com/forums/simplicity ... 29095.html

What it is, is when I scroll down and the new menu appears, the formatting of my text means it's not visible (it's now white on white) and secondly as the menu items move up a few pixels, the telephone number is no longer in line with the menu items.

So, my question is, how can I ensure that when I scroll down and the new menu appears, firstly my telephone number is visible and secondly it's inline with the menu items please?

Thanks!

This code was added after the logo code
Code: Select all
<?php if($this->API->modules('modmenuphone')) : ?>
         <div id="gKNewmodposition">
            <jdoc:include type="modules" name="modmenuphone" style="<?php echo $this->module_styles['none']; ?>" />
         </div>
         <?php endif; ?> 


This is my css

Code: Select all
#mynewbutton {
   float: left;
   padding: 0 30px;
   color:#fff;
   font-size: 14px;
   font-weight: 600;
   line-height: 90px;
   text-transform: uppercase;
   width: auto;
}
User avatar
Fresh Boarder

GK User
Thu Feb 13, 2014 5:42 pm
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Thu Feb 13, 2014 5:53 pm
Reply with quote
Report this post
Sure, thank you. (I also notice the logo drops in the lower menu.)

http://gleus.com
User avatar
Fresh Boarder

GK User
Fri Feb 14, 2014 5:13 pm
Reply with quote
Report this post
Please edit: /templates/gk_simplicity/css/override.css and add at its end:
Code: Select all
#gkMenuWrap #gkHeaderNav #mynewbutton {color: #000;}


This will address text inside your custom module when the page scrolls down.

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Sat Feb 15, 2014 12:43 am
Reply with quote
Report this post
Thanks very much! Is there a way to deal with the alignment issues and get the logo and phone number to move up with the navigation please?
User avatar
Fresh Boarder

GK User
Mon Feb 17, 2014 8:02 am
Reply with quote
Report this post
To move all of those items up use this code:
Code: Select all
#gkLogo {margin-top:24px;}
#mynewbutton {line-height: 90px;}
.imageBg #gkMainMenu {margin-top: 11px;}

to reduce menu spacing even more:
Code: Select all
.gkMenu > ul > li > a {
line-height: 70px;
}


Those are current values, decrease them to move elements up.
User avatar
Moderator

GK User
Tue Feb 18, 2014 3:59 pm
Reply with quote
Report this post
Thanks, that solved all my problems! :)
User avatar
Fresh Boarder

GK User
Tue Feb 18, 2014 9:36 pm
Reply with quote
Report this post
Ok.
If You will have any other questions, feel free to post new forum threads.
User avatar
Moderator


cron