Help Please

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
ChrisRogers
Registered User
Posts: 3
Joined: Mon Jun 11, 2018 1:17 pm

Help Please

Post by ChrisRogers » Mon Jun 11, 2018 1:22 pm

Hello,

I've been working on a Template modification for the past few days and now im on the User Profile information area of the forums,

Im stuck though, ive found out how to change the header on the Member list view but im stuck on where abouts in the code is this part

Image

I know it must be on the
memberlist_body.html template file but ive been looking hours now and i cannot find it at all,

Any help would be appreciated.

Regards
Chris

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51321
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Help Please

Post by Brf » Mon Jun 11, 2018 2:27 pm

ChrisRogers wrote:
Mon Jun 11, 2018 1:22 pm
ive found out how to change the header on the Member list view but im stuck on where abouts in the code is this part

I know it must be on the
memberlist_body.html template file
Nope.
Memberlist view is in memberlist_view.html.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64880
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Help Please

Post by Lumpy Burgertushie » Mon Jun 11, 2018 2:49 pm

and it is this line: <h2 class="memberlist-title">{PAGE_TITLE}</h2>
what are you wanting to change about it?

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

ChrisRogers
Registered User
Posts: 3
Joined: Mon Jun 11, 2018 1:17 pm

Re: Help Please

Post by ChrisRogers » Mon Jun 11, 2018 2:57 pm

Im wanting to put DIV Tags around it to make it have a background,
https://forum.stogamers.com/memberlist.php << So it looks like the header on here,

ChrisRogers
Registered User
Posts: 3
Joined: Mon Jun 11, 2018 1:17 pm

Re: Help Please

Post by ChrisRogers » Mon Jun 11, 2018 3:04 pm

Ahh i've managed to do it now hehe, Thanks for your help :-)

User avatar
Mannix_
Registered User
Posts: 324
Joined: Sun Oct 25, 2015 2:56 pm
Contact:

Re: Help Please

Post by Mannix_ » Mon Jun 11, 2018 3:06 pm

ChrisRogers wrote:
Mon Jun 11, 2018 2:57 pm
Im wanting to put DIV Tags around it to make it have a background,
https://forum.stogamers.com/memberlist.php << So it looks like the header on here,
you don't have to it already has a class as lumpy mentioned
Lumpy Burgertushie wrote:
Mon Jun 11, 2018 2:49 pm
<h2 class="memberlist-title">{PAGE_TITLE}</h2>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My CDB contributions . Like my work? Want me to do make a style just for you? PM here or on twitter.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Need some graphics? PM here or on twitter.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64880
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Help Please

Post by Lumpy Burgertushie » Mon Jun 11, 2018 3:41 pm

unfortunately, that class is nowhere to be found in the css for prosilver.

so, surrounding it with a div for your background is probably the best idea.

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51321
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Help Please

Post by Brf » Mon Jun 11, 2018 4:01 pm

Lumpy Burgertushie wrote:
Mon Jun 11, 2018 3:41 pm
unfortunately, that class is nowhere to be found in the css for prosilver.
Then it should be safe to add it...

User avatar
Lumpy Burgertushie
Registered User
Posts: 64880
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Help Please

Post by Lumpy Burgertushie » Mon Jun 11, 2018 4:46 pm

yep, I thought of that as well but you would have to create the div to put the line in anyway and then create the css for that selector to affect the div.
I am curious why there is a class in that line of code that does not exist in prosilver css files. I believe there are other cases of this in the code as well.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51321
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Help Please

Post by Brf » Mon Jun 11, 2018 5:58 pm

As Mannix_ pointed out, there is already that class on the H2 tag, so there should be no need for a new div. Just add a line to the css for that class.
There are many such classes in the template that are not used in the css.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64880
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Help Please

Post by Lumpy Burgertushie » Mon Jun 11, 2018 6:52 pm

just curious, how would you add a box with a background color to a line of text? don't you have to have add the background color to a div that the text is inside of?

and, why are there classes used in the code if they have no css for them? what purpose do they serve?

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51321
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Help Please

Post by Brf » Mon Jun 11, 2018 7:00 pm

Lumpy Burgertushie wrote:
Mon Jun 11, 2018 6:52 pm
and, why are there classes used in the code if they have no css for them? what purpose do they serve?
I assume they are to allow you to easily changes colors and such without having to edit the html.

Here is a demonstration, using the "Inspect" option in Chrome:
Attachments
demo.png

User avatar
Lumpy Burgertushie
Registered User
Posts: 64880
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Help Please

Post by Lumpy Burgertushie » Mon Jun 11, 2018 8:38 pm

didn't know you could do that. however it does apply to the div that it is already in .

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51321
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Help Please

Post by Brf » Mon Jun 11, 2018 8:57 pm

No. The section I colored is an H2 block. It is not a div.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64880
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Help Please

Post by Lumpy Burgertushie » Mon Jun 11, 2018 9:25 pm

ok, then what tells that H2 block what its width and height is if not the div it is inside of?
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Post Reply

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

Who is online

Users browsing this forum: No registered users and 4 guests