TinyPortal
Development => Support => Topic started by: MoreBloodWine on April 06, 2011, 06:24:11 PM
Two things starting what what should be easy for someone who knows what's where.
I've been through a few CSS files and even both TP block files but I'll be damned if I can figure out where that 8px padding is coming from to change it's value. I know I might seem to ask for a lot of help and some would like to "teach me to fish" rather than feed me but I already tried fishing this one and I'll be damned if I can find it. I've literally been though about 10 different files.
When you look at the code and see that the CSS is "inline". Meaning that the css is in the HTML code like this:
<div style="padding: 8px">
That means you won't find it in the CSS files. It's in the templates and some times even the source files. If you use a good editor you can search for things in a directly. All I had to do was search for "8px" to find it. A good editor like Notepad++ can search all the files in a directory. You are probably looking for the 8px's that are added depending upon which block display option you select. This is found in the TPSubs.php file in the tp_getblockstyles() function in some of the array elements.