-
AuthorPosts
-
October 7, 2008 at 10:39 am #134101
Hello ladies and gents,
I´d like to know how to change the font-weight for the second level into bold. I can’t find a class for the second level. Sorry, I speak from the main menu at the left side.
For instance, I would get Welt der Familie a bit bigger or bolder or in a different color than level 1.Anyone an idea???
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 8, 2008 at 7:14 am #274197Hi marcendres !
you can do it following way below :
Open template.css file in templates/ja_edenite/css folder, find following code section at about line 864 :
ul.menu li li a {
font-weight:normal !important;
}
and change it to :
ul.menu li li a {
font-weight:bold;
color:red;
}
“red” is sample color , you can change it by other color .
October 8, 2008 at 8:12 am #274203that`s not the effekt it should be!
Here `s the code I got in template.css:
ul.menu {
list-style: none;
margin: 0;
padding: 0;
}ul.menu li {
background: none;
margin: 0;
padding: 0;
}ul.menu li a {
display: block;
outline: none;
padding: 6px 4px;
color: #626A69;
border-bottom: 1px solid #E7E8E6;
background: url(../images/arrow.png) no-repeat 97% center;
}ul.menu li a:hover,
ul.menu li a:active,
ul.menu li a:focus {
color: #2C79B3;
background: url(../images/arrow2.png) no-repeat 97% center;
}ul.menu li.active a {
color: #2C79B3;
#color: #000000;
#font-weight: bold;
}ul.menu li ul {
list-style: none;
margin: 0;
padding-left: 10px; //verantwortet die Einrückung für das untergeordnete Menü!
}ul.menu li li a {
background: url(../images/bullet.gif) no-repeat 10px 13px !important;
border: none;
font-weight: bold;
color:red;
padding-left: 20px !important;
width: 75%; /*need for ie6 transparent*/}
the result is hold in the jpg at the bottom.
Instead, I wolud be glad if only the 2nd level is bold as also the 1st level, but not the 3 rd level. Is there any solution for???
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 8, 2008 at 8:25 am #274204Hi !
if you want it apply to 3 rd level , you add following code to template.css file :
ul.menu li li ul a {
background: url(../images/bullet.gif) no-repeat 10px 13px !important;
border: none;
font-weight: bold;
color:red;
padding-left: 5px !important;
width: 75%; /*need for ie6 transparent*/
}
October 8, 2008 at 8:59 am #274209I only wnat the 1st and second level bold, the rest was o.k. Now there`s nothing bold and 3rd level is on the same position as the 2nd level!
ul.menu {
list-style: none;
margin: 0;
padding: 0;
}ul.menu li {
background: none;
margin: 0;
padding: 0;
}ul.menu li a {
display: block;
outline: none;
padding: 6px 4px;
color: #626A69;
border-bottom: 1px solid #E7E8E6;
background: url(../images/arrow.png) no-repeat 97% center;
}ul.menu li a:hover,
ul.menu li a:active,
ul.menu li a:focus {
color: #2C79B3;
background: url(../images/arrow2.png) no-repeat 97% center;
}ul.menu li.active a {
color: #2C79B3;
#color: #000000;
#font-weight: bold;
}ul.menu li ul {
list-style: none;
margin: 0;
padding-left: 10px; //verantwortet die Einrückung für das untergeordnete Menü!
}ul.menu li li a {
background: url(../images/bullet.gif) no-repeat 10px 13px !important;
border: none;
font-weight: normal !important;
padding-left: 20px !important;
width: 75%; /*need for ie6 transparent*/
}ul.menu li li ul a {
background: url(../images/bullet.gif) no-repeat 10px 13px !important;
border: none;
font-weight: bold;
color:red;
padding-left: 5px !important;
width: 75%; /*need for ie6 transparent*/
}
ul.menu li li a:hover,
ul.menu li li a:active,
ul.menu li li a:focus {
background: none;
}
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 13, 2008 at 2:51 am #274948Hi marcendres !
sorry for delay ! i have tried it on my local and it runs well , it seems have some differences of menu config in my local and your site, so it is the best if you can send url of your site, i will check it for you !October 13, 2008 at 10:15 am #275013saarmesse2.intersaar.de
It`s a subdomain for training… please without www.Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 14, 2008 at 9:43 am #275206Hi marcendres !
you can fix it following way below :
Open template.css file in templates/ja_edenite_template_j15/css folder , find following code section at about line 861 :
ul.menu li ul {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0;
padding:0;
}
change to :
ul.menu li ul {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0;
padding:0;
padding-left:10px;
}
this is code for fix padding of menu level 3 .
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
October 14, 2008 at 9:50 am #275207to bold level 2 menu , you add following code section to template.css file :
ul.menu li.current span {
font-weight: bold;
}
October 18, 2008 at 6:41 am #275981.. but I construct simultaneously 3 pages…
But no, the effect of copying is that the 1st level is bold if activated, but not the second level.
ul.menu {
list-style: none;
margin: 0;
padding: 0;
}ul.menu li {
background: none;
margin: 0;
padding: 0;
}ul.menu li a {
display: block;
outline: none;
padding: 6px 4px;
color: #626A69;
border-bottom: 1px solid #E7E8E6;
background: url(../images/arrow.png) no-repeat 97% center;
}ul.menu li a:hover,
ul.menu li a:active,
ul.menu li a:focus {
color: #2C79B3;
background: url(../images/arrow2.png) no-repeat 97% center;
}ul.menu li.active a {
color: #2C79B3;
font-weight: bold;
}ul.menu li ul {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0;
padding:0;
padding-left:10px;
}ul.menu li.current span {
font-weight: bold;
}
ul.menu li li a {
background: url(../images/bullet.gif) no-repeat 10px 13px !important;
border: none;
font-weight: normal !important;
padding-left: 20px !important;
width: 75%; /*need for ie6 transparent*/
}ul.menu li li a:hover,
ul.menu li li a:active,
ul.menu li li a:focus {
background: none;
}That’s template.css with all changes I made…
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 2 voices, and was last updated by marcendres 16 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum