1
vikrant
Main Menu Re styiling
  • 2009/3/22 15:07

  • vikrant

  • Just popping in

  • Posts: 97

  • Since: 2004/11/9


Resized Image
Can any one help me with reducing the gap between 2 links
example "Home" and "Webstat" has huge gap i want to reduce or remove it.
Where i have to edit what.
Help me please.
Regards
Vikrant

2
Burning
Re: Main Menu Re styiling
  • 2009/3/22 15:12

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

It would be more easy with a link, but may you are in a local machine ?

It seems to be a matter with css style.
Do you get some margin instruction in #mainmenu ? (style.css)
Still learning CSS and... english

3
vikrant
Re: Main Menu Re styiling
  • 2009/3/22 15:48

  • vikrant

  • Just popping in

  • Posts: 97

  • Since: 2004/11/9


No its on the server indiamachineshop.com is the website
also I have checked the CSS file and changed the padding from 5px to 2px in the main menu but there is no change.
Where am i making the mistake.
Regards
Vikrant

4
Burning
Re: Main Menu Re styiling
  • 2009/3/22 16:19

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Your block template does no contain <br /> instruction between links ?

Quote:

#mainmenu a {
display : block;
margin : 0;
background-color : #e6e6e6;
padding : 4px;
margin: 0;
}


... this change produces no effect
Still learning CSS and... english

5
urbanspacema
Re: Main Menu Re styiling

change this

#mainmenu a {
 
display:block;
 
margin 0;
 
background-color #e6e6e6;    
 
padding 4px;
}

/*in this*/
#mainmenu a {
 
display:block;
 
margin 0;
 
background-color #e6e6e6;    
 
padding 4px;
 
margin-bottom:-12px;
}



tested in ff, to do something better should have the menu's html
http://www.ultrasonica.it
http://www.noisecollective.net

6
vikrant
Re: Main Menu Re styiling
  • 2009/3/22 18:46

  • vikrant

  • Just popping in

  • Posts: 97

  • Since: 2004/11/9


is it possible for someone to send me a default theme with these corrections to my email id vikrantathavale at hot mail dot com
Thanking all in advance

7
Burning
Re: Main Menu Re styiling
  • 2009/3/22 20:14

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


<table cellspacing="0">
  <
tr>
    <
td id="mainmenu">
      <
class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
      <!-- 
start module menu loop -->
      <{foreach 
item=module from=$block.modules}>
      <
class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
        <{foreach 
item=sublink from=$module.sublinks}>
          <
class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
        <{/foreach}>
      <{/foreach}>
      <!-- 
end module menu loop -->
    </
td>
  </
tr>
</
table>


Look into your block template :
www/modules/system/templates/blocks/system_block_mainmenu.html

It is the same than above ? Exactly ?
Still learning CSS and... english

8
vikrant
Re: Main Menu Re styiling
  • 2009/3/23 1:47

  • vikrant

  • Just popping in

  • Posts: 97

  • Since: 2004/11/9


Wow it worked.
For last few day i might have uploaded this default theme maybe more than 25 times to ge rid of this error.
Thanks a Ton pal it worked like magic.
Regards
Vikrant

9
dianne123
Re: Main Menu Re styiling
  • 2009/12/2 5:30

  • dianne123

  • Just popping in

  • Posts: 1

  • Since: 2009/12/2


it is very helpful reading your thread, views, replies. It is. thanks to you guys.

Login

Who's Online

236 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits