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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 926
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 223
  • Total: 224
  • lurkalot

Add space between TP blocks

Started by Johnyblaze, July 17, 2009, 12:11:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Johnyblaze

Link to my site: http://www..co.cc
SMF version: 1.1.10
TP version: 1.0 beta4
Theme name and version: OverviewLight por DzinerStudio
Browser Name and Version: Google Chrome 2.0
Mods installed:
Signature Option Post   
TinyPortal    1.083  
Global Announcements   
Spoiler Show And Hide    1.0.3     
Advanced Reputation System    0.1.5
YouTube BBCode    2.5.1     
Thank-O-Matic    1.2.5  
MCLegendII.2    3.0     
RemoveQuotedImages    1.0   
nCode Image Resizer    1.2  
Registered Links    1.0
Signature Settings Mod    1.1  
SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.0
Stars And Badges    2.1     
Space Between Posts    1.0     
Favicon

Related Error messages: No error messages



i dont know if this goes here, i want to create a space between TP blocks, there are all one after another.



Which file do i need to edit, is a file of tinyportal or SMF, that way i can ask there

Lesmond

Please read the Posting Guidelines so we can know what version of tp you are running, and any other relevant info

Johnyblaze


ZarPrime

Hello Johnyblaze,

Welcome to TinyPortal.

The amount of spacing between blocks could probably be adjusted a little bit in the theme by adding some margin between the blocks in the css file, and there may even be something that could be done in the code but it's pretty much hard coded.  http://www.dzinerstudio.com/index.php could probably help you with that since it is their theme.

However, possibly an easier way to do it would be to just add a blank block between blocks.  For instance, you could setup a blank php block under each block (or between your other blocks) that has no content and is set to "use frame, but not title".  To see what this would look like take a look at my test site using the Overviewlight theme here ...
http://talesofthehavenexpanse.com/smf1test/index.php?theme=15

If you look below the user block on the left, below the skinz block on the right, and below the search block, also on the right, you'll see what looks like a light gray line and some white space below it.  That is just a blank php block in each instance.

It might be easier to see this in another theme.  Try this link for a better view ...
http://talesofthehavenexpanse.com/smf1test/index.php?theme=13

In this theme, the blank block is simply shown as a light blue spacer between blocks.

will this give you the effect you are looking for?

ZarPrime

Johnyblaze

Quote from: ZarPrime on July 18, 2009, 09:37:58 AM
Hello Johnyblaze,

Welcome to TinyPortal.

The amount of spacing between blocks could probably be adjusted a little bit in the theme by adding some margin between the blocks in the css file, and there may even be something that could be done in the code but it's pretty much hard coded.  http://www.dzinerstudio.com/index.php could probably help you with that since it is their theme.

However, possibly an easier way to do it would be to just add a blank block between blocks.  For instance, you could setup a blank php block under each block (or between your other blocks) that has no content and is set to "use frame, but not title".  To see what this would look like take a look at my test site using the Overviewlight theme here ...
http://talesofthehavenexpanse.com/smf1test/index.php?theme=15

If you look below the user block on the left, below the skinz block on the right, and below the search block, also on the right, you'll see what looks like a light gray line and some white space below it.  That is just a blank php block in each instance.

It might be easier to see this in another theme.  Try this link for a better view ...
http://talesofthehavenexpanse.com/smf1test/index.php?theme=13

In this theme, the blank block is simply shown as a light blue spacer between blocks.

will this give you the effect you are looking for?

ZarPrime

i dont know what i didnt think of that, thanks a lot ZarPrime, my website looks better now, thank you

Lesmond

I done a few test on our tp test site for the same thing that ZP suggested.yes you could really use any type block to do the same thing

bloc

In the next beta you will be able change the distance there, this is something which have been neglected before.

Though empty blocks also look kind of cool. :)

Ken.

Quote from: Bloc on July 18, 2009, 01:05:45 PM
In the next beta you will be able change the distance there, this is something which have been neglected before.

Though empty blocks also look kind of cool. :)

ZarPrime's empty block idea is indeed very cool! :up:
It's an easy fix that looks great.
http://www.ourfamilyforum.org/FamilyForum/index.php?action=forum
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

This website is proudly hosted on Crocweb Cloud Website Hosting.