I understand the the downloads block is built into the tiny portal, I was wondering if there is a way to modify the block itself to shift the contents more to the left hand side of the block to space out the download file names.
Depends what 'block' you mean.?
Can you explain? Perhaps a screenshot or link to the page in question ?
I should have specified a bit more, the block in mention is the DOWNLOADS BLOCK.
I have the block on the right side panel of tinyportal, I am running the newest SMF forums and tinyportal.
The contents of the block it has a spacer on the left side, I wish to move align the contents a little more to the left.
I have attached an picture of the block
Quote from: @rjen on December 02, 2018, 09:28:03 PM
Depends what 'block' you mean.?
Can you explain? Perhaps a screenshot or link to the page in question ?
That'll be the "Article / Downloads functions" block. If you look everything is centered, so if you have a long-ish file name it wraps putting it on two lines. When there's a fair bit of space either side which could be made use of.
Think that's what Jippo is referring to.
Exactly, I wish to shorten the space on the left side of the contents within the block.
I get it.
Thing is that is actually controlled by the default <ul> settings of the browser...
To control it, you can make this code change:
To the file TPSubs.php (found in sources)
Line 2756
Find
<div class="post">
<ul>';
update to
<div class="post">
<ul style="padding-inline-start:20px;">';
You can play with the 20px to make it less or more...
If you look at the attachment the Calendar is aligned to the left, I wish to do the same with the contents of the Article/Downloads functions Block.
I just posted the answer for you...
Awsome, thanks a million!
Quote from: Jippo on December 02, 2018, 10:01:56 PM
If you look at the attachment the Calendar is aligned to the left, I wish to do the same with the contents of the Article/Downloads functions Block.
:hmm: Well actually I don't think the calendar should be aligned to the left. :o
I agree, on the Calendar, it would look better centered in the block, but it looks aligned with all the other blocks in a pleasing way, maybe could be an option for the Calendar block in the future (an alignment option)