TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 651
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 133
  • Total: 133

articles in category block

Started by darkangel, November 24, 2013, 07:36:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

darkangel

I was wondering, how to add a bit more space in between the links. They appear cramped a might and those f us with eye issues tend to not distinguish easily enough...LOL

ZarPrime

darkangel,

This may be an issue that can be fixed in the CSS file of the custom theme but I couldn't tell without seeing it in person.  Have you checked to see if the same issue occurs in the SMF default (curve) theme?  Can this issue be seen by me on your site?  If so, can you give me a link to it?

ZarPrime

darkangel

I tried the tp css file in the default theme folder but got frustrated with it not working...4 hours at it so I can't tell you really where in there cause it all started to run together...LOL

I just checked and it is that way in all the themes, SMF default is so ignored LOL nobody ever uses it.

http://thefantasiesattic.net/attic/index.php?action=forum

3rd block down left side (under the long link block...sorry)

DeVIL-I386

#3
Add the code to your CSS file: #block167 b {
line-height: 25px;
}


EDIT: added preview

darkangel

that I did not try...lol

ok as soon as iI stuff my face then will report back

ZarPrime

Yeah, you could do something like DeVIL-I386 mentioned but the problem with that is, if you decide to add more blocks, you might lose track of which block you did that for.

Another thing to consider might be to look in the index.css file for the custom theme and find ...

a:link, a:visited {
    color: #BD9851;
    text-decoration: none;
}


You could add the line height there using pixels, or you could go with ems, maybe something like this ...

a:link, a:visited {
    color: #BD9851;
    line-height: 1.5em;
    text-decoration: none;
}


This may affect other locations where you have links though so you will want to check the site after you do it.  If 1.5em doesn't seem enough, try 2em.

ZarPrime

DeVIL-I386

Quote from: ZarPrime on November 25, 2013, 12:04:49 AM
Yeah, you could do something like DeVIL-I386 mentioned but the problem with that is, if you decide to add more blocks, you might lose track of which block you did that for.
Then he can alternatively use this code (TinyPortal block, left side): #tpleftbarHeader b {
line-height: 25px;
}


or the code of ZarPrime, limited to the left side of the TinyPortal block

#tpleftbarHeader a:link, #tpleftbarHeader a:visited {
    color: #BD9851;
    line-height: 1.5em;
    text-decoration: none;
}


or also extends

#tpleftbarHeader a {
    line-height: 1.5em;
}

darkangel

aha...I was messing with the tp-style.css file no the theme index.css file

I used this one

Code: [Select]

#tpleftbarHeader b {
line-height: 25px;
}

so will now go into each individual theme and set the code in its css file.

thanks fellas.

would any of those work in the actual tp-style.css for the entire site without editing each themes

DeVIL-I386

#8
Quote from: darkangel on November 25, 2013, 12:40:52 AM
would any of those work in the actual tp-style.css for the entire site without editing each themes
I think not (But I'm not 100% sure). The file is indeed extra again in each theme (./Themes/<theme>/tp-style.css).

However, it could work in ./Themes/default/css/webkit.css.




Just for information: The b stands for bold text.

Quote#tpleftbarHeader b {
line-height: 25px;
}

ZarPrime

The last one that DeVIL-I386 mentioned above ...

#tpleftbarHeader a {
    line-height: 1.5em;
}


might work but you would have to add it to the bottom of the tp-style.css file since it is not in there.  Backup first so that you can revert if it doesn't.

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.