PDA

View Full Version : Help Needed!!


spiritfolk
03-12-2006, 07:46 PM
Hello,

I have a couple of questions if anyone can assist me with; please view my website and tell me how to do the following: http://www.spiritfolk.com/directory

1. How do i remove the space in between the image in the header.tpl and the top bar menu in the top_bar.tpl, as i want the base of the girl to touch the top bar.

2. On the main page that show's the categories, why are some of the fonts in two of the categories (Spiritual music & Brazilian Spiritism) larger than the rest, it also shows this when you click on "latest links" in the top bar menu.

Your assistance would be much appreciated.

Thanks

David Gibson

anon
03-12-2006, 07:57 PM
i have to go grocery shopping, but if nobody has helped you by the time i get back, i will lend a hand.

Rob

anon
03-12-2006, 09:48 PM
back. post your tpl files so i can see what's in them. don't know whether a valign will suffice or whether you need to remove a <tr></tr> line.

Kevuk2k
03-13-2006, 01:37 AM
I think that the table part I can help with if this is the style you are looking for? My main.tpl is a custom design. As for the first poser on the image. I don't think it is possible to do this but I have a few designers having a pop for you. One suggestion my Daughter made to me (She's a degree level designer) was to play with the image if it is not able to be put flush to the table line and this is to manipulate the image to an oval shape with fading outset to give the image of 'the spirit' rising which would be the same sublime message given by the 'rising from the line'. We noticed you have cropped the graphic to the utmost and if taking away any non - essential
<tr>< /tr><td></tr> does not work it is is likely that the seperation is non manipulative. We are having a pop at it for you though as we would love to get this working for you.

Kev

Optimit
03-13-2006, 03:52 AM
The reason there is a space is because in the Main.css td is set to 5px padding. You need to create another style on the table in question and just set the padding to 0.

anon
03-13-2006, 04:53 AM
thx Optimit.

it's harder on me to help out with other template matters because i'm not using the base which everyone else is.

i do have the coding down and smarty is a sinch now :P

i'm a quick learner

Optimit
03-13-2006, 05:02 AM
Well, luckily there are enough of us here with variations in our strong points to help out most people.

spiritfolk
03-13-2006, 07:29 AM
Hey guys thanks for the help :D

I set the .td to 0 and the gap in the header image looks better than it was. I'm still having problems though with the font below in two of the categories, i don't understand why the two of them are larger than the rest?

anon
03-13-2006, 08:48 AM
Content visible to registered users only.

thats because
main cats use a header: <h2></h2> tags
sub cats use css: <p class="subcats"></p>


<h2>"art/"Spiritual Art <span class="count">(3)</span></h2>
<p class="subcats">"art/music/"]Spiritual Music


go into you .css file and find:
Content visible to registered users only.

after: padding: 0px;

add something like:
font-size:8px;


see if that helps. it's in your .css file regardless. i'm just trying to go on memory how the main.css was defined.

spiritfolk
03-13-2006, 10:17 AM
Anon, thanks for that advice and it worked on the main page. How do i amend the size of the site description on the "Links" page; if you click on "Spiritual Directories" you can see my site in the links page but the URL and the site description are too big.

Does anyone know where in the main.css file that i can amend that font size in the links page.

Optimit
03-13-2006, 10:26 AM
Those are set by the default font size setting under the body style in the main.css.

Look for body {

then the font size is under that. I think the default is 8pt.

Warning. By changing this, you are setting a new default size for all fonts. it may change things that you dont want changed.

If you want to Only change the size of the descriptions and URL, then you will have to create a new style, and add it to link.tpl

spiritfolk
03-13-2006, 11:43 AM
I've sorted out the problem with the font size on the links page; i just had to amend the .a, .p & .url in the main.css file and add a font code line to each one.

Thanks for the help everyone.

Optimit
03-13-2006, 01:48 PM
Whatever works for you. Glad you got it fixed.