Welcome, Guest. Please login or register.
Did you miss your activation email?
17 May 2008, 14:15

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: Menu Problem  (Read 446 times)
0 Members and 1 Guest are viewing this topic.
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« on: 06 May 2008, 21:20 »

Hello,

I am using the next to call my one of my menus:
{menu start_element="10.1.1" number_of_levels="2"}

When I am on a selected category the text of that category gets HUGE size.
Can someone tell me how to set the size of the font of the visited cateogor to remmain as it was when not visited?
Is there some way to fix this inserting a code into the css?

Thanks

Andy
Logged
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« Reply #1 on: 07 May 2008, 00:41 »

Anyone?
Logged
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« Reply #2 on: 07 May 2008, 10:03 »

Appreciate any ideas at all
Logged
Nullig
Power Poster
***

Karma: 41
Offline Offline

Posts: 1274

Location: White Rock, BC



« Reply #3 on: 07 May 2008, 10:07 »

The problem is in your CSS, somewhere. If you provide a link, so we can see what was happening, someone might be able to help you.

Nullig
Logged

When Irish eyes are smiling, they're usually up to something.
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« Reply #4 on: 07 May 2008, 10:26 »

The problem is in your CSS, somewhere. If you provide a link, so we can see what was happening, someone might be able to help you.

Nullig

Sure man,
this is an example of what is happening in the left menu:
http://www.mydomain.com/cronograma-de-capacitacion.htm
Notice the title "cronograma de capacitacion" text. I am in that article so its font shows huge, plus there is a space below the title "cronograma de capacitacion".

I attacked the CSS

Thanks  Smiley



* csspage.txt (6.24 KB - downloaded 11 times.)
« Last Edit: 14 May 2008, 21:39 by chechogr » Logged
Nullig
Power Poster
***

Karma: 41
Offline Offline

Posts: 1274

Location: White Rock, BC



« Reply #5 on: 07 May 2008, 10:59 »

Try adding this to your stylesheet:

.currentpage ul {
   margin: 0 0 0 -30px;
   padding: 0px;
}

Nullig

Logged

When Irish eyes are smiling, they're usually up to something.
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« Reply #6 on: 07 May 2008, 12:27 »

It doesnt seem to work?

Do you think I have another code in the css that is nulling this one?
Logged
Nullig
Power Poster
***

Karma: 41
Offline Offline

Posts: 1274

Location: White Rock, BC



« Reply #7 on: 07 May 2008, 13:04 »

Try playing with:

.activeparent ul {
   margin: 0 0 0 -30px;
   padding: 0px;
   list-style-type: none;
}

Nullig
Logged

When Irish eyes are smiling, they're usually up to something.
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« Reply #8 on: 07 May 2008, 19:11 »

Try playing with:

.activeparent ul {
   margin: 0 0 0 -30px;
   padding: 0px;
   list-style-type: none;
}

Nullig

Do you mean to include both:

.activeparent ul {
   margin: 0 0 0 -30px;
   padding: 0px;
   list-style-type: none;
}
.currentpage ul {
   margin: 0 0 0 -30px;
   padding: 0px;
}

??

I have included them both in the CSS and inlucded in both of the the font-size: XXpx; but font size doesnt change.

Also played with the other values and they modify the separation from the letf but not the font size.

Any ideas?
Logged
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« Reply #9 on: 08 May 2008, 19:37 »

After playing a lot with it havent been able to fix the big big font.
http://www.mydomain.com/aji-quedamos.htm
"Ají quedamos" text is much bigger than other same level categories  Cry

Any other suggestions?

Thanks

Andy
« Last Edit: 14 May 2008, 21:39 by chechogr » Logged
mark
Support Guru
Power Poster
****

Karma: 109
Online Online

Posts: 4352

Location: Arizona



WWW
« Reply #10 on: 09 May 2008, 00:34 »

It has an h3 assigned to it so you need to address it...

<li class="currentpage"><h3><dfn>Current page is 10.1.1.2: </dfn>Ají quedamos</h3>

Like so li.currentpage h3 {font-size:11px}   or the size you want...
Logged

Go to Extensions » Modules/Tags click the name of the module/tag or the word Help to the right to get the parameters it takes...
Want to try CMSMS... http://cmsmsdemo.com/...
Brought to you by Nullig
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« Reply #11 on: 09 May 2008, 01:19 »

Thanks a lot man.
What I dont understand, is why if neither my template or css have any h3 in their code, the html generates an h3.
I had to put an h3 in the css to affect the template  in a terrible place to fix the size.

I fixed the size thing. Do you know how to take of the space between the current URL link and the link below it?
« Last Edit: 09 May 2008, 01:27 by chechogr » Logged
mark
Support Guru
Power Poster
****

Karma: 109
Online Online

Posts: 4352

Location: Arizona



WWW
« Reply #12 on: 09 May 2008, 13:20 »

The h3 in your menu comes from the menu template, h3 has a default style in all browsers so to change the default you need to specify what you want, just add margin and padding to suit your needs to...

li.currentpage h3 {font-size:11px add more styling here}
Logged

Go to Extensions » Modules/Tags click the name of the module/tag or the word Help to the right to get the parameters it takes...
Want to try CMSMS... http://cmsmsdemo.com/...
Brought to you by Nullig
chechogr
Power Poster
***

Karma: 0
Offline Offline

Posts: 288


« Reply #13 on: 09 May 2008, 14:10 »

The h3 in your menu comes from the menu template, h3 has a default style in all browsers so to change the default you need to specify what you want, just add margin and padding to suit your needs to...

li.currentpage h3 {font-size:11px add more styling here}

Great!
Do you know if there is a way in CSS to elminate de space between the current URL text and the link below it?
Logged
Nullig
Power Poster
***

Karma: 41
Offline Offline

Posts: 1274

Location: White Rock, BC



« Reply #14 on: 09 May 2008, 14:18 »

Add:

.currentpage h3 {
   margin: 0px;
   padding: 0px;
   font-size: 11px;
}

Nullig
Logged

When Irish eyes are smiling, they're usually up to something.
Pages: [1]
Print
Jump to: