TinyPortal

Development => Support => Topic started by: darkangel on November 24, 2013, 07:36:53 AM

Title: articles in category block
Post by: darkangel on November 24, 2013, 07:36:53 AM
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
Title: Re: articles in category block
Post by: ZarPrime on November 24, 2013, 09:28:45 PM
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
Title: Re: articles in category block
Post by: darkangel on November 24, 2013, 11:27:46 PM
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)
Title: Re: articles in category block
Post by: DeVIL-I386 on November 24, 2013, 11:48:05 PM
Add the code to your CSS file: #block167 b {
line-height: 25px;
}


EDIT: added preview
Title: Re: articles in category block
Post by: darkangel on November 25, 2013, 12:01:46 AM
that I did not try...lol

ok as soon as iI stuff my face then will report back
Title: Re: articles in category block
Post by: 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.

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
Title: Re: articles in category block
Post by: DeVIL-I386 on November 25, 2013, 12:25:37 AM
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;
}
Title: Re: articles in category block
Post by: darkangel on November 25, 2013, 12:40:52 AM
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
Title: Re: articles in category block
Post by: DeVIL-I386 on November 25, 2013, 12:46:25 AM
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;
}
Title: Re: articles in category block
Post by: ZarPrime on November 25, 2013, 12:55:24 AM
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
Title: Re: articles in category block
Post by: darkangel on November 25, 2013, 02:24:55 AM
I went to each themes index.css file and at the bottom added:

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

and it works for each one this way.

Thanks, I did try them all in the main tp-style.css and webkit one in default folder but it did wish to be nice.

Thanks all for the help, have a good Thanksgiving and eat some turkey for me, this year I can't have one since they took my foodstamps down  a lot and there was not enough to get turkey dinner.

hugs