Forum Support

Shape 5
September 19, 2021, 04:28:14 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to change link style spacing etc in side menu without it changing everywhere  (Read 589 times)
geewhiz
Jr. Member
**
Offline Offline

Posts: 18



« on: March 26, 2010, 06:50:37 PM »


Hi, i am trying to have a side menu that i created have no underline, different font size/color, and more spacing between the links. i thought it should all be controlled in:
Default Joomla menu without images

template_css.css (line 1774)

Code:

/* Default Joomla! Menu */
a.mainlevel  {
   color:#000000;
   display:block;
   font-family:Arial,Helvetica,sans-serif;
   font-size:11px;
   font-style:normal;
   font-weight:normal;
   line-height:25px;
   list-style-position:outside;
   list-style-type:none;
   margin-left:-14px;
   padding-left:8px;
   text-decoration:none;}

But it is not - making changes here doesnt do anything. it seems to be determined in line 907
#popup_div h3, a {
color:#000000;

AND

line 10

a:hover, a:focus {
color:#666666;
text-decoration:underline;
}

But if i change something here, all other links in the site and the topmenu also change...

view site here http://twm.org.nz/index.php

how can i work this ?  Thanks Heaps !
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: March 29, 2010, 10:30:47 AM »

If you set your menu to legacy vertical in your site module admin area then the following should effect the menu:

/* Default Joomla! Menu */
a.mainlevel  {
   color:#000000;
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
geewhiz
Jr. Member
**
Offline Offline

Posts: 18



« Reply #2 on: April 02, 2010, 03:53:20 AM »

If i use legacy the sublinks disappear. Is there another way to define a style for just this menu ?

Thanks !
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: April 02, 2010, 12:58:20 PM »

or try legacy flat list perhaps
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.