Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 04-24-2006, 10:16 PM
pardonmy Offline
forum loafer
 
Join Date: Oct 2005
Posts: 15
Light White 2

Hi everyone,

I installed this template today and am making some changes. I removed the "Photo" link on top and now Archive, About, and RSS remain. However, I am not able to change the size of these links by doing this:

<div id="menu" style="min-width:660px;width: (<IMAGE_WIDTH> + 35)px;">

As you can see on my site, these links are left justified and it doesn't look that great:

http://www.pardonmypixel.com

I did the same thing for the about_tempalte, but since the code there did not make use of the <IMAGE_WIDTH> variable, it worked out great:

http://www.pardonmypixel.com/index.php?x=about

How can I fix this problem? Thanks in advance for your help!

P.S. Joey, thanks for this template, I love it!
__________________
Give me your criticism or I'll take it from you:
http://www.pardonmypixel.com
Reply With Quote
  #2  
Old 04-25-2006, 06:56 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
find:

Code:
#menu li {
/* ADJUST THIS WIDTH PERCENTAGE ACCORDING TO HOW MANY LINKS/TABS ARE IN YOUR MENU - EG, IF YOU HAVE 5 LINKS THEN ADJUST WIDTH TO 20% - EVEN NUMBERS WILL WORK BETTER BUT ARE NOT NECESSARY*/
	width:25%;
    text-align:center;
	float:left;
	margin-top:10px;
    }
and replace with

Code:
#menu li {
/* ADJUST THIS WIDTH PERCENTAGE ACCORDING TO HOW MANY LINKS/TABS ARE IN YOUR MENU - EG, IF YOU HAVE 5 LINKS THEN ADJUST WIDTH TO 20% - EVEN NUMBERS WILL WORK BETTER BUT ARE NOT NECESSARY*/
	width:33.3%;
    text-align:center;
	float:left;
	margin-top:10px;
    }
Reply With Quote
  #3  
Old 04-25-2006, 04:58 PM
pardonmy Offline
forum loafer
 
Join Date: Oct 2005
Posts: 15
Thank you very much Joey!
__________________
Give me your criticism or I'll take it from you:
http://www.pardonmypixel.com
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 01:00 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs