-
AuthorPosts
-
jclivingstone Friend
jclivingstone
- Join date:
- February 2008
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 4, 2010 at 1:02 am #149187Hi there
Firstly I think this is a great looking template. One problem I do have however is that the main nav bar is above the logo position.
Many people find this annoying as your logo gets covered up every time you use a drop down.
How can I move the logo and search line above the main nav bar?
histeriks Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
March 4, 2010 at 3:10 am #334742jclivingstone;167561Hi there
Firstly I think this is a great looking template. One problem I do have however is that the main nav bar is above the logo position.
Many people find this annoying as your logo gets covered up every time you use a drop down.
How can I move the logo and search line above the main nav bar?
Hi jclivingstone,
open your template.css file, located in your /templates/ja_rasite/css/ directory, and replace code from line 1187 to 1252 with this:
/* HEADER
--------------------------------------------------------- */
#ja-header {
position: relative;
margin-top: 10px;
z-index: 10;
}#ja-header .main {
height: 60px;
padding: 0;
position: relative;
}h1.logo, div.logo-text h1 { font-size: 250%; line-height: 1;}
h1.logo, div.logo-text { float: left; z-index: 1; position: relative; }
/* Logo Image ---*/
h1.logo { height: 51px; margin-top: 0px; margin-left: 10px; width: 187px; }h1.logo a {
background: url(../images/logo.png) no-repeat left;
display: block;
height: 51px;
width: 187px;
top:0px;
position: absolute;
}h1.logo a span { position: absolute; top: -1000px; }
/* Logo Text ---*/
div.logo-text { margin-top: 8px; }div.logo-text h1 a {
color: #ccc;
font-weight: bold;
letter-spacing: 1px;
text-decoration: none;
}p.site-slogan {
background: #444;
color: #999;
display: block;
font-size: 85%;
letter-spacing: 1px;
margin: 8px 0 0;
padding: 0 5px;
text-align: center;
text-transform: uppercase;
}/* NAVIGATION
--------------------------------------------------------- */
/* Main Nav ---*/
#ja-mainnav {
background: url(../images/mainnav-bg.gif) repeat-x left top;
font-family: Tahoma, Verdana, Tahoma, sans-serif;
height: 36px;
line-height: 1;
padding-top: 10px;
position: relative;
top: 51;
z-index: 900;
}
I guess this will be sufficient. Test and adjust according to your needs 🙂jclivingstone Friendjclivingstone
- Join date:
- February 2008
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
March 4, 2010 at 4:56 am #334767<em>@histeriks 167580 wrote:</em><blockquote>Hi jclivingstone,
open your template.css file, located in your /templates/ja_rasite/css/ directory, and replace code from line 1187 to 1252 with this:
/* HEADER
--------------------------------------------------------- */
#ja-header {
position: relative;
margin-top: 10px;
z-index: 10;
}#ja-header .main {
height: 60px;
padding: 0;
position: relative;
}h1.logo, div.logo-text h1 { font-size: 250%; line-height: 1;}
h1.logo, div.logo-text { float: left; z-index: 1; position: relative; }
/* Logo Image ---*/
h1.logo { height: 51px; margin-top: 0px; margin-left: 10px; width: 187px; }h1.logo a {
background: url(../images/logo.png) no-repeat left;
display: block;
height: 51px;
width: 187px;
top:0px;
position: absolute;
}h1.logo a span { position: absolute; top: -1000px; }
/* Logo Text ---*/
div.logo-text { margin-top: 8px; }div.logo-text h1 a {
color: #ccc;
font-weight: bold;
letter-spacing: 1px;
text-decoration: none;
}p.site-slogan {
background: #444;
color: #999;
display: block;
font-size: 85%;
letter-spacing: 1px;
margin: 8px 0 0;
padding: 0 5px;
text-align: center;
text-transform: uppercase;
}/* NAVIGATION
--------------------------------------------------------- */
/* Main Nav ---*/
#ja-mainnav {
background: url(../images/mainnav-bg.gif) repeat-x left top;
font-family: Tahoma, Verdana, Tahoma, sans-serif;
height: 36px;
line-height: 1;
padding-top: 10px;
position: relative;
top: 51;
z-index: 900;
}
I guess this will be sufficient. Test and adjust according to your needs :)</blockquote>
Dude. You’re a legend. Thanks for that. One problem however, how do I get the dropline menu to follow suit? As you can see http://jandsl.com/TMG/CRL/ the dropline stays above the header while the menu is below.April 12, 2010 at 6:01 pm #340115Any news on getting the dropline menu to follow ?
jclivingstone Friendjclivingstone
- Join date:
- February 2008
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
April 13, 2010 at 3:40 pm #340249Nope. In the end I created another menu and placed it below.
cansay Friendcansay
- Join date:
- February 2010
- Posts:
- 183
- Downloads:
- 2
- Uploads:
- 32
- Thanks:
- 20
- Thanked:
- 19 times in 1 posts
April 18, 2010 at 10:15 pm #340708PERFECT SOLUTION for me also 😀
THX ALOT.
Do I have to change anything for this to work for my mobile users?
How do I change the width of the background image ?
It looks a bit stupid If the background stretches the entire site 😀I tired to remove
background-repeat:repeat-x;And use the information in this link
http://stackoverflow.com/questions/1341358/set-size-on-backgroundimage-with-cssBut I couldent get it working 🙁
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 20, 2010 at 1:34 pm #340952Dear Cansay!
<blockquote>
How do I change the width of the background image ?
It looks a bit stupid If the background stretches the entire site </blockquote>I have not clear understandable on your issue please give me the snapshort !
Thanks
-
AuthorPosts
This topic contains 7 replies, has 5 voices, and was last updated by Saguaros 14 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum