Lost edges color after modify common.css

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
hugomez
Registered User
Posts: 197
Joined: Wed Jul 08, 2009 7:56 am

Lost edges color after modify common.css

Post by hugomez »

Hi,

I've an style template on phpbb 3.2, that bit a bit I am modifying.

Originally it has a fix width, but I found it too narrow, so I change this code to make is not that narrow:

Code: Select all

.wrap {
	border-radius: 10px;
	border-style: solid;
	border-width: 5px;
	margin: 0 auto;
	max-width: 800px;
	padding: 5px 14px 5px 12px;
to this other code:

Code: Select all

.wrap {
	border-radius: 10px;
	max-width: 1052px;
	border-width: 5px;
	margin: 0 auto;
	min-width: 625px;
	padding: 5px 14px 5px 12px;
Now it has the width I like, however only doing this change, the red border I has, now disappeared.

Before:
Screen Shot 2019-02-09 at 20.19.53.png
Screen Shot 2019-02-09 at 20.19.53.png (19.33 KiB) Viewed 277 times
After:
Screen Shot 2019-02-09 at 20.20.17.png
Any idea how can I get it back also keeping the width I want?

Thanks in advance.
hugomez
Registered User
Posts: 197
Joined: Wed Jul 08, 2009 7:56 am

Re: Lost edges color after modify common.css

Post by hugomez »

Hi again,

Problem solved.

I didn't have to remove

Code: Select all

border-style: solid;
when I added

Code: Select all

max-width: 1052px;

With the code in this way, I've recovered the red edge/border, and have the width I like.

Code: Select all

.wrap {
	border-radius: 10px;
	border-style: solid;
	max-width: 1152px;
	border-width: 5px;
	margin: 0 auto;
	min-width: 625px;
	padding: 5px 14px 5px 12px;
}
Post Reply

Return to “[3.2.x] Styles Support & Discussion”