1
Graviton
width of main menu and place of text in block
  • 2006/1/5 3:00

  • Graviton

  • Just popping in

  • Posts: 60

  • Since: 2005/8/10


Hi,

I have a submenu in main menu called pocketwatches but it is a little bit too long so it divides itself in 2 lines which looks bad.
Isn't it flexible or do I have to make it longer manually.

The same for the "our collection" block, most are fine but some links turn up way to much to the right, so it looks unorganised and disturbing.

Website is www.timebrokers.be

Filip

2
JMorris
Re: width of main menu and place of text in block
  • 2006/1/5 3:28

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


You've got four easy to implement options:

1. Don't type in all CAPS
2. Reduce the font-size on the menus
3. Reduce the padding-left on the sub links
4. Increase the column width

1. This option is self-explainitory

2. Add the following to td#mainmenu a.menuSub in your style.css file:

font-size:10px;


3. Change the following in td#mainmenu a.menuSub in your style.css file:

padding-left:9px


To (Adjust as needed):

padding-left:4px


4. Look for td#leftcolumn and td#rightcolumn in your style.css and increase the px value. For example:

td#leftcolumn {width:165px;


To (Adjust as needed):

td#leftcolumn {width:175px;


There are trade-offs to each option. Based on your target audience and your overal vision for your site, you will have to choose what is best for you.

Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
Graviton
Re: width of main menu and place of text in block
  • 2006/1/5 4:35

  • Graviton

  • Just popping in

  • Posts: 60

  • Since: 2005/8/10


Thx,

but that's only for main menu, it isn't for the my_album (our collection) problem I guess?

Thx

Filip

4
JMorris
Re: width of main menu and place of text in block
  • 2006/1/5 4:45

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


I couldn't find a block or page that said "our collection" or I would post the code to edit.

The same basic principles apply though. You need to identify the class or id that is defined for the element you want to change, then you just edit your style.css so that you get the desired result.

If you're using Firefox, you can highlight the area that is causing the problem, then right-click and select "View Selection Source". This will help you identify what class or id you need to edit in your style.css.

If you're not familiar with style's and classes, I recommend you take a look athttp://w3schools.com/.

Most XOOPS themes make extensive use of CSS, so gaining a good basic understanding of CSS will help you to become a more efficient site admin.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

5
Graviton
Re: width of main menu and place of text in block
  • 2006/1/5 5:38

  • Graviton

  • Just popping in

  • Posts: 60

  • Since: 2005/8/10


Hey,

You mean you don't see the "Our Collection" gif on openingpage? it's the "my_album" module on frontpage I'm talking about, all the items are not aligned to eachother.

Filip

6
Graviton
Re: width of main menu and place of text in block
  • 2006/1/5 5:40

  • Graviton

  • Just popping in

  • Posts: 60

  • Since: 2005/8/10


Hi,

The link you provided for css etc does not work.

Filip

7
Graviton
Re: width of main menu and place of text in block
  • 2006/1/5 6:19

  • Graviton

  • Just popping in

  • Posts: 60

  • Since: 2005/8/10



Login

Who's Online

227 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

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

Latest GitHub Commits