Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Getting rid of spacing between SP footer and WP footer.
Avatar
Neti Patel
Member
sp_UserOfflineSmall Offline
Jan 18, 2017 - 9:43 pm

I need to get rid of this spacing at the bottom of my SP forum. attached...Screenshot.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 19, 2017 - 4:17 am

Well firstly you have to find what is causing it. That's easiest and best accomplished using the browsers web console. This FAQ explains how to use it and the bottom section explains how to track down the CSS for an element.

We can do this for you but it can not be done from an image. We would need a link to your forum page.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Neti Patel
Member
sp_UserOfflineSmall Offline
Jan 22, 2017 - 12:43 pm

Wonderful,

Here is a link to the forum page:

http://www.onthehorse.com/forum

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 22, 2017 - 3:01 pm

oddly, this is coming from your theme...  notice this html that is added after the forum display

<div class="main-content-container container newsstand-item-start-content">
    <div class="newsstand-item newsstand-main-content">
        <div class="swp-content-locator"></div>
            <span class="et_bloom_bottom_trigger"></span>
        <div class="clear"></div>
    </div>
</div>

so it seems perhaps it has a section defined for more page content?  and styles a big block for it...

so you will want to set the padding-top of .newsstand-item-start-content to 0 (its 45px)...  and set margin-bottom of .newsstand-item.newsstand-main-content to 0 (its 55px)... and it will tighten up...

of course, if you can get your theme to remove that unused section, it should as well...

Avatar
Neti Patel
Member
sp_UserOfflineSmall Offline
Jan 26, 2017 - 4:15 pm

Okay,

I'm not exactly code savvy so I don't entirely understand but I'm in the theme editor, if I pull out the below highlighted code, which seems to be just an empty block on all pages, will this solve the issue?

I would rather refrain from changing theme code until I get your oppinion.

Screen-Shot-2017-01-26-at-4.15.20-PM.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 26, 2017 - 4:26 pm

I guess the most important question was whether there was an option within the theme to remove that section from being displayed. Some themes have these sort of options.... and if not then yes - you will need to make some changes.

However - you should not change the theme code/css itself. Although you can test using that technique. A better way is to only apply the WP theme changes when the forum page is being displayed.

Under the forum admin > Themes is a Custom CSS edit box. Assuming @mr-papa was correct above - copy and paste the following into that box and save. use the Raw Code button to display the code in a popup and copy that.

.newsstand-item-start-content { padding-top: 0px; }
.newsstand-item.newsstand-main-content { margin-bottom: 0px; }

Clear your browser cache and then run the page. See what happens!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Neti Patel
Member
sp_UserOfflineSmall Offline
Feb 1, 2017 - 7:21 pm

FIXED!

The support on this forum is AMAZING!

Thank you for taking support seriously Yellow Swordfish and Mr. Papa.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 1, 2017 - 10:08 pm

glad we could help!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626