Support Forum

Why this extra box?

SP SPQC
SPQC
Member

Just wondering…

Why there is that extra box (painted in red here) when we get the Add Topic screen? I wanted to know if it’s mandatory to have it.  I mean are there hidden functions in this box?

I could probably edit the styling of #spPostForm and remove border and margins but I ask just in case it was there once for a reason and could now be removed.

7 Answers

New Answer

PR Propheticus
Propheticus
Member

I can’t imagine why a certain styling would be mandatory. Myself, I’ve removed the border that runs one level deeper (the one in line with the “add topic:” text) in our custom forum style. This hasn’t caused problems yet.

I agree the way the default themes style the borders/margins right now is a bit redundant.

SP SPQC
SPQC
Member

Propheticus said

I agree the way the default themes style the borders/margins right now is a bit redundant.

While you are it, I think that even the overall border #spMainContainer should be optional.  I believe most WP theme already have a border.  I just removed it as I type and I type it looks better.

YS Yellow Swordfish
Yellow Swordfish
Member

I will look into the specific editor borders as there does look like we have some redundancy there – but I would like to point out as well that it is ALL optional. You can change whatever you want – we encourage you to do so…

MP Mr Papa
Mr Papa
Member

yup, its just css… any ‘hidden’ content will still show if you remove the border (but not the elemet)

SP SPQC
SPQC
Member

Following my initial post, I know you turned off the border but was curious why you kept the padding or haven’t simply removed that extra box at all?  Maybe some theme use it for background-color?  Take a look with the Berries’n’Cream and you’ll see a white background around the editor, not sure if you like the look.  Maybejust something you forgot.

 

I know I can remove it myself, it’s just another css override added to custom style of the theme I use.

 

#spMainContainer #spPostForm .spEditor {
    padding: 10px 10px 0;
}
MP Mr Papa
Mr Papa
Member

there was no extra ‘box’… it was just a border…  and we did leave the padding in there… personal preference I guess…  I can see the point of removing the padding, but then the borders on sides are bit jumbled…  but we can talk about it…

SP SPQC
SPQC
Member

Haven’t checked them all but for some theme it may look weird…

bnc.png