Spaces in Ordered and Unordered Lists?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
User avatar
Hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 1065
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Spaces in Ordered and Unordered Lists?

Post by Hanakin »

did you add the #
rick5150
Registered User
Posts: 283
Joined: Wed Feb 02, 2005 6:19 pm

Re: Spaces in Ordered and Unordered Lists?

Post by rick5150 »

so nothing on this? It is too bad as it is so close to working.
User avatar
Hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 1065
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Spaces in Ordered and Unordered Lists?

Post by Hanakin »

What's is not working still?
rick5150
Registered User
Posts: 283
Joined: Wed Feb 02, 2005 6:19 pm

Re: Spaces in Ordered and Unordered Lists?

Post by rick5150 »

Hanakin wrote: Tue May 09, 2017 1:03 am did you add the #
This may be the issue as I do not know what this means or where to add it.
User avatar
Hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 1065
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Spaces in Ordered and Unordered Lists?

Post by Hanakin »

sorry what method did you go with...you added a new bbcode for long lists?

Code: Select all

<div class="longlist">{TEXT}</div>
and add a class to your style

Code: Select all

.longlist ul li, .longlist ol li {
	margin-bottom: 1.5rem;	
}
rick5150
Registered User
Posts: 283
Joined: Wed Feb 02, 2005 6:19 pm

Re: Spaces in Ordered and Unordered Lists?

Post by rick5150 »

I used the CSS method you described above except I have this line

Code: Select all

.longlist ul li, .longlist ol li {
	line-height: 3em;	
}
rick5150
Registered User
Posts: 283
Joined: Wed Feb 02, 2005 6:19 pm

Re: Spaces in Ordered and Unordered Lists?

Post by rick5150 »

User avatar
Hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 1065
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Spaces in Ordered and Unordered Lists?

Post by Hanakin »

1. You created the new bbcode for this? and added it like so

Code: Select all

[longlist]
[list]
[*] trhrt
[*] rthhrg
[*] gfgd
[/list]
[/longlist]
2. do not use line-height, use margin-bottom as my exp above does.
rick5150
Registered User
Posts: 283
Joined: Wed Feb 02, 2005 6:19 pm

Re: Spaces in Ordered and Unordered Lists?

Post by rick5150 »

I did not know we were supposed to use both tags. I had simply replaced the [list] tag with the [longlist] tag. Works great now, thank you!
tellmethis
Registered User
Posts: 113
Joined: Sun Feb 14, 2010 7:02 pm
Contact:

Re: Spaces in Ordered and Unordered Lists?

Post by tellmethis »

Jeeshman wrote: Fri Mar 24, 2017 2:45 pm
Hanakin wrote: Thu Mar 23, 2017 5:03 pm the BBCODE parser was overhauled and it no longer allows for this -> https://area51.phpbb.com/phpBB/viewtopi ... 23&t=44467
Thanks for the reply. That's too bad for lists that are made up of paragraphs, because once there are 3 or more entries it just looks like a gigantic wall of text.
I'm with you, jeeshman. The old way allowed for a much nicer layout. Seems a big step backwards.

The easiest way round it I've figured so far is insert the following where you'd like a line space:

Code: Select all

[color="transparent"]<Any text can go here>[/color]
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Spaces in Ordered and Unordered Lists?

Post by Mick »

tellmethis wrote: Wed Jul 11, 2018 10:57 amSeems a big step backwards
You should shout at PHP and or MySQL then, they improve/upgrade their product and everybody else has to follow or it won't work.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Spaces in Ordered and Unordered Lists?

Post by canonknipser »

Mick wrote: Wed Jul 11, 2018 12:12 pm You should shout at PHP and or MySQL then
In this case, I would suggest to shout at phpBB because of using a pre-build textparser engine instead of using own code (as in 3.0.x)
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
Post Reply

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