HexagonReborn

Wider post profile - HexagonReborn

Wider post profile

by Shenzy » Wed Mar 20, 2019 1:48 pm

Hello,
since my forum supports avatars with a width of up to 250px, I'm trying to make the post profile a bit wider. I've already found the value that controls the width of the post profiles, but then the post itself doesn't fit next to the profile anymore. The width of the posts should be controlled by the .postbody {[...] width: 76% [...]} value, but no matter what I change it to, it stays the same width. Is there any other value that needs to be changed?
Shenzy
Registered User
Posts: 28
Joined: Mon May 28, 2018 10:42 pm
Contact:

Re: Wider post profile

by Mannix_ » Wed Mar 20, 2019 1:54 pm

postbody is for the post and postprofile is for the profile width. Use inspect element of your browser to make sure you make the changes where they suppose to be done.
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Want me to port a style to 3.2.x etc. contact me here or on twitter.
User avatar
Mannix_
Registered User
Posts: 503
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Wider post profile

by Shenzy » Wed Mar 20, 2019 3:43 pm

I know, I've already figured out what needs to be changed. I can change the width of the postprofile without problems, but when I put different values into the postbody, it stays the same width and gets shifted to below the profile.
Shenzy
Registered User
Posts: 28
Joined: Mon May 28, 2018 10:42 pm
Contact:

Re: Wider post profile

by Mannix_ » Thu Mar 21, 2019 8:24 am

In what file did make the changes? are you sure responsive.css isn't overwriting your changes?
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Want me to port a style to 3.2.x etc. contact me here or on twitter.
User avatar
Mannix_
Registered User
Posts: 503
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Wider post profile

by Shenzy » Fri Mar 22, 2019 12:17 am

I changed the percentage values on postbody and postprofile in the content.css. I've looked at the responsive.css, but couldn't find anything that could be interfering with the changes.
Shenzy
Registered User
Posts: 28
Joined: Mon May 28, 2018 10:42 pm
Contact:

Re: Wider post profile

by Mannix_ » Fri Mar 22, 2019 7:50 am

Link me to your board
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Want me to port a style to 3.2.x etc. contact me here or on twitter.
User avatar
Mannix_
Registered User
Posts: 503
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Wider post profile

by Shenzy » Sat May 25, 2019 4:12 pm

Hello,
sorry for the very late reply, I was busy working on other stuff.
Unfortunately, the style isn't installed on my live board at the moment, because I wasn't able to customize it the way I wanted, which is why I can't provide you with a link.
However, I did find out something interesting. The problem with the .postbody width-value not doing anything appears to be present in most conventional prosilver-based styles (and even in prosilver itself). I've tried messing with the values in the inspect element console and even the demo boards displayed this behaviour, so it can't be a problem with my installation or extensions that I use.
Which makes me even more confused than before, because I can't find any other values that could be responsible for overriding the width of the postbody...
Shenzy
Registered User
Posts: 28
Joined: Mon May 28, 2018 10:42 pm
Contact:

Re: Wider post profile

by Mannix_ » Sat May 25, 2019 4:15 pm

Shenzy wrote:Hello,
sorry for the very late reply, I was busy working on other stuff.
Unfortunately, the style isn't installed on my live board at the moment, because I wasn't able to customize it the way I wanted, which is why I can't provide you with a link.
However, I did find out something interesting. The problem with the .postbody width-value not doing anything appears to be present in most conventional prosilver-based styles (and even in prosilver itself). I've tried messing with the values in the inspect element console and even the demo boards displayed this behaviour, so it can't be a problem with my installation or extensions that I use.
Which makes me even more confused than before, because I can't find any other values that could be responsible for overriding the width of the postbody...
Have you looked into responsive.css ?
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Want me to port a style to 3.2.x etc. contact me here or on twitter.
User avatar
Mannix_
Registered User
Posts: 503
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Wider post profile

by Shenzy » Sat May 25, 2019 5:17 pm

Oh man... I thought that I've already thoroughly looked through the responsive.css, but there it is, the root of my problem.

Code: Select all

@media (min-width: 700px) {
	.postbody { width: 70%; }
}

@media (min-width: 850px) {
	.postbody { width: 76%; }
}
These were overriding my width value.
Thanks so much for helping me find the solution!
Shenzy
Registered User
Posts: 28
Joined: Mon May 28, 2018 10:42 pm
Contact: