collapse collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 129
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM
NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: SP / Theme spacing issue  (Read 6753 times)

0 Members and 1 Guest are viewing this topic.

Offline 420connect

  • Jr. Member
  • **
  • Posts: 94
SP / Theme spacing issue
« on: May 18, 2015, 08:37:55 AM »
Hey,

I'm not sure if this would be solved via SP files or the theme itself..

I'm basically looking to add some space between the "main block" and the columns to the side:
(as you can see they are side by side with no spacing at the moment..)




Theme: (Redsy) http://custom.simplemachines.org/themes/index.php?lemma=2833


Many thanks in advance for any suggestions! :)

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1183
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: SP / Theme spacing issue
« Reply #1 on: May 18, 2015, 10:52:05 AM »
Site URL and it's a 2 mins fix ;) From the looks of it I'd say add "margin-left: 5px" to your custom css style in the "Top Boards" block properties, but I need to see it to be sure. I checked your forum and cannot find/select the theme so... :/
« Last Edit: May 18, 2015, 10:57:00 AM by ♦ Ninja ZX-10RR ♦ »
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1183
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: SP / Theme spacing issue
« Reply #2 on: May 18, 2015, 11:54:30 AM »
So here we go, I got the address privately :)

Add this to your block property: "margin-left: 5px" and it's good. However the theme is very odd and has another margin left thingy that messes up the whole site in multiple places when you do that (don't ask me why, I think it was overseen). The solution for that is to blindly remove the other margin-left: 5px that you have in your bootstrap.css around string 271. This procedure is resolution-based so it adapts itself to the screen in use, in case you were wondering about it :)
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline 420connect

  • Jr. Member
  • **
  • Posts: 94
Re: SP / Theme spacing issue
« Reply #3 on: May 18, 2015, 12:02:20 PM »
Many thanks for the help ninja!

Hmmm,

With the suggested changes I am able to move the title of the block over but the 'body' remains with no added space (even with the added margin)?   :o
« Last Edit: May 18, 2015, 12:31:32 PM by 420connect »

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1183
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: SP / Theme spacing issue
« Reply #4 on: May 18, 2015, 12:19:00 PM »
Well you gotta add it in both places, both for the body property but also for the title one (which is what you already did) ;D Sorry for not mentioning it.
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline 420connect

  • Jr. Member
  • **
  • Posts: 94
Re: SP / Theme spacing issue
« Reply #5 on: May 18, 2015, 12:31:19 PM »
Sorry, I mean - even after adding it to the body, it seems to be ignored..

I find when I uncheck the box to disable the background/body of the block, my margin-left takes effect but with the box checked, it's like it's ignored.

Also, playing around with inspect element, I've found if I ad "style="margin-left: 5px" to the line "<div class="windowbg"> that is a part of the block, I achieve what I am looking for but I'm not sure how to implement it properly..

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1183
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: SP / Theme spacing issue
« Reply #6 on: May 18, 2015, 12:44:48 PM »
Given that the theme has a very very weird behaviour and you are completely right... Scratch all the above and:
-Find
Code: [Select]
#sp_right {
    vertical-align: top;
around string 257 in your portal.css
-Make it like this:
Code: [Select]
#sp_right {
    vertical-align: top;
    padding-left: 5px;
-Set the right blocks width to 205px instead of 200

At least like this it should work and theme shouldn't be able to mess it up again xD
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline 420connect

  • Jr. Member
  • **
  • Posts: 94
Re: SP / Theme spacing issue
« Reply #7 on: May 18, 2015, 12:52:55 PM »
Woohoo!

I was about to say that never worked either but I forgot .css edits can take a bit to show - after a few refreshes that worked perfectly :D!

You and your ninja skills!  :applause:

Many thanks as always!

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1183
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: SP / Theme spacing issue
« Reply #8 on: May 18, 2015, 01:10:00 PM »
Glad that it did the trick :D
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: SP / Theme spacing issue
« Reply #9 on: May 26, 2015, 04:12:12 PM »
Just a note. You'd need to do same thing, a bit differently, if have left side blocks, too.
I have mine set at 10, instead of 5, but here is for both sides.

Code: [Select]
#sp_left
{
vertical-align: top;
    padding-right: 10px;
}
#sp_right
{
vertical-align: top;
    padding-left: 10px;

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1183
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: SP / Theme spacing issue
« Reply #10 on: May 26, 2015, 05:26:54 PM »
His theme was reacting in a weird way to such edits, I tried to use the general classes but it wasn't working properly :/ That's why I chose the most annoying but safest path :P
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis