Article - Extra space 2 - Forum | JoomShaper
Solved SP Page Builder

Article - Extra space 2

Asked by SPD 4 years ago Last activity 4 years ago

Hi, I'm back as it seems there is still some unexplained space between the bottom of the menu and top of the article.

This 1st image is from an SP PB Pro Page I created, with coloured Body, set via the Template Options > Layout > Body > Style option

https://drive.google.com/file/d/1wItN-_Pwa-7MWb3BFMwKkY9CHqk72ugz/view?usp=sharing

This 2nd image is from an Article i created using the SP PB Pro option and by adding the back-gound to the custom css you provided:
.view-article #sp-main-body { background-color: #FF0000; padding: 0px; }

https://drive.google.com/file/d/1Yy7EoZTdKb5j8_k8mTHpQcZa4zn2Q6bg/view?usp=sharing

What I'm trying to make happen is that the top of an article is touching the bottom of the menu as in the 1st image. fyi, I am using an Article as opposed to a Page because I plan to either use JFilter or something similar so I can allow visitors to filter articles like Similar Portfolio but I have custom fields I want to use on the 'landing page' so that won’t work.
Cheers

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

games of this type are unlikely to teach you real survival, but the fun must be great ;)


Just use that:

.article-details .article-can-edit {margin-bottom: 0;}

to reduce top gap.

5 more replies

Paul Frankowski Senior Staff
4 years ago · edited

Hi SPD again,

2nd screenshot: Cool image "Wasteland. Survival Guide" - as I survival instructor and survival guide books writer if you need consultacy about that topic let me know.

Indeed, there is small gap, can you share link to that page - it would be easier for me to find what it can be.

In the guide from documenation there were few examples of custom CSS, one of them (1st) has 10px top padding so maybe you used that one instead of "0px" .

SPD Asked this

Well that is very cool! Unfortunately my survival experience is based sitting in my chair playing Fallout 4 on the PC, which is what the guide is all about. Your experience is much more impresssive :-)

Have provided link

SPD Asked this

re: my survival skills, true, which I why I'm pretty much glued to my chair safe behind a monitor, well unless war breaks out in a small fishing village in north of england.

As before I am in your debt as this fixed the problem. Will do my best not to bother you again, today :-)
Cheers

Paul Frankowski Senior Staff

I am glad that I could help also this time.

If one day you would have idea for survival app/game - let me know. BTW I have ask my publisher to translate at least one book to english.

SPD Asked this

Published even, more impressive by the minute Paul ;-) re: app/game, sure will

Log in to reply.