Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Ok, there are just a few changes I want to make, but so far have not been able to figure out.

1st - In ubbthreads.php I want the forum links to be underlined. Sure that's easy to just change the links text-decoration, but I don't want all links to be underlined. Just those main forum headings. I tried a few things, but nothing worked.

2nd - In postlist.php in the subject column, I would also like to adjust the size of just that column with links. Even if it is only 1px or so, I'd like it a little bigger. Again, I can't find a way to do just that and not affect everything else.

3rd - It goes along with postlist.php, and this may be a template specific issue, but how do I make the rows a bit taller? Right now they seem to really squish the text. I'd like a bit more padding on the top and bottom to help space things out a bit.

Any help with that would be appreciated Thanks!

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
1 - you can add a specific class to accomplish this, then wrap the boxes with the class Say:



.forumlinks A:link {
text-decoration: underline;
}
.forumlinks A:visited {
text-decoration: underline;
}
.forumlinks A:active {
text-decoration: underline;
}
.forumlinks A:HOVER {
text-decoration: underline;
}

2. are you adjusting the text size? You could handle it the same way, add a class, then set font-size to the size you prefer.

3. you can adjust cellpadding in your theme settings up one pixel and see if it's better. If you don't like the way it loks throughout, you can adjust that particular table in the postlist.tmpl


- Allen wavey
- What Drives You?
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Thanks Dave! I got #1 working as you suggested. But number 2 is not working. This is how I have postlist.tmpl:

code:
<td align="left" width="50%" class="tdheader">
<font class="subjectsize">
<a href="{$config['phpurl']}/postlist.php?Cat=$Cat&Board=$Board&page=$page&view=$view&sb=$sortsubject&o=$o">
{$ubbt_lang['SUBJECT_TEXT']}
</a>
</font>
$SubjectS
</td>



Here is the entry in the CSS for subjectsize:
code:
.subjectsize {
font-size : 16px;
}



I just think its weird, the first one works fine, but doing the same thing for this doesn't. I'm probably just putting a tag in the wrong spot or something dumb.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
who's dave?

tdheader may be over-riding the font class... you can try:

<td align="left" width="50%" class="tdheader subjectsize">

and see if that fixes it, otherwise you might need to edit tdheader's font-size setting


- Allen wavey
- What Drives You?
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Sorry Allen, I get in such a habit thanking dave I forget who I'm talking to

Anyway, I found my mistake, I overlooked it but I was making the change in the template for just the header of the subject table, not in the loop where it displays all the posts. So, it is working now. Thanks Allen

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)