Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2019-03-10 21:21:08

lema
Member
Registered: 2019-03-10
Posts: 25

lists in the Pallet 01 Copy with Markdown does not work

For a Page Copy I want to create lists in the Pallet 01 Copy with Markdown. The code does not work in Pallet 01 Copy.

If I enter the identical code in Main Copy, the lists are generated with a list marker. I also used the code in CE4 used in Sidebar Copy.

I have used the following code:

<ul>
<li>Reiseübersicht</li>
<li>Reiseblog</li>
<li>Fotoprojekte</li>
</ul>

Thanks to all

LeMa

Offline

#2 2019-03-10 22:24:43

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: lists in the Pallet 01 Copy with Markdown does not work

Can you post a link?

Going by memory here, but list items in pallets may have css applied that sets the list-style-type to none.

This can be changed with custom css.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2019-03-10 22:32:01

lema
Member
Registered: 2019-03-10
Posts: 25

Re: lists in the Pallet 01 Copy with Markdown does not work

No, that's not possible because I work on a local server.

There must be a difference between the main and the pallet 01

LeMa

Offline

#4 2019-03-10 22:36:43

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: lists in the Pallet 01 Copy with Markdown does not work

Yes, I believe lists are using different css.
I don’t know why this is, but it’s easy to change with custom css?
Let us know if you need help with the code.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2019-03-10 22:43:18

lema
Member
Registered: 2019-03-10
Posts: 25

Re: lists in the Pallet 01 Copy with Markdown does not work

Yes that would be very good. I am not so experienced here. But have already added code in the customer css.
Many Thanks

LeMa

Offline

#6 2019-03-10 23:03:00

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: lists in the Pallet 01 Copy with Markdown does not work

If you’re only using a list in one or two places it might be easiier to just apply the css inline:

<ul style="list-style-type: initial;">
<li>Reiseübersicht</li>
<li>Reiseblog</li>
<li>Fotoprojekte</li>
</ul>

You can set the type to whatever style you like:
https://www.w3schools.com/CSSref/pr_list-style-type.asp


I’ve writtten custom css to set list-style-type for pallets, but I’ll need to get to my pc. On the iPad right now and it’s not the best tool for probing pages.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#7 2019-03-10 23:29:09

lema
Member
Registered: 2019-03-10
Posts: 25

Re: lists in the Pallet 01 Copy with Markdown does not work

I would like to use the list on other pages. So I need a code of all available.

LeMa

Offline

#8 2019-03-10 23:42:59

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: lists in the Pallet 01 Copy with Markdown does not work

try adding this to your custom css file:

.widget ul li {
    list-style-type: initial;
    margin-left: 12px ;
   }

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#9 2019-03-11 00:29:37

lema
Member
Registered: 2019-03-10
Posts: 25

Re: lists in the Pallet 01 Copy with Markdown does not work

I can not get any further here. I suspect it's a bug from BL2. It works in Main Copy but not in the Pallet 01 Copy and Pallet 02 Copy.

I thank you here for the help. Eventeull can Matthew fix the error.

Offline

#10 2019-03-11 00:57:06

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: lists in the Pallet 01 Copy with Markdown does not work

It works for me. See my test page: http://backlight-2-100.barbeephoto.com/list/

my guess is that your custom css isn't being implemented correctly. How have you gone about it?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#11 2019-03-11 02:11:32

lema
Member
Registered: 2019-03-10
Posts: 25

Re: lists in the Pallet 01 Copy with Markdown does not work

I have previously included the custom css with another function (scroll-to-top function). This works.

I've added the code just as shown in these files. Eventeul I'm doing something else wrong.
___________________________________________
.btn-scroll-to-top {
    background-color: transparent;
    display: none;
    position: fixed;
    bottom: 7px;
    right: 15px;
    border: 1px solid;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 29px;
    vertical-align: middle;
    text-decoration: none;
    color:#6f7c80;
   
}
.btn-scroll-to-top:hover {
    text-decoration: none;
    color:#ff0000;
        border-color: red;
}

a.btn-scroll-to-top {
    z-index: 3;
}


.widget ul li {
    list-style-type: square;
    margin-left: 12px ;
}
________________________________________________


LeMa

Offline

#12 2019-03-11 02:25:40

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: lists in the Pallet 01 Copy with Markdown does not work

Sorry, I forgot you’re using Backlight 1. There may be a different selector for the pallet text area.
I’ll take a look at that


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#13 2019-03-11 02:40:38

lema
Member
Registered: 2019-03-10
Posts: 25

Re: lists in the Pallet 01 Copy with Markdown does not work

sorry I probably did not mention it either. I am use Backlight 2

LeMa

Offline

#14 2019-03-11 02:50:22

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: lists in the Pallet 01 Copy with Markdown does not work

Actually, it's working for me in my Backlight 1 (1.2.3) test site using the same css.

I can't tell you much more without seeing a page though.

You could try adding it inline. Because of the specific css in backlight that sets the li list style to none in the pallets, you'd have to use code like this:

<ul >
<li style="list-style: square; margin-left:12px;">Reiseübersicht</li>
<li style="list-style: square; margin-left:12px;">Reiseblog</li>
<li style="list-style: square; margin-left:12px;">Fotoprojekte</li>
</ul>

but the selector: .widget ul li should work in custom css, unless there's more specific css somewhere else or unless there's other, overriding css coming after that.

If you know how to use the browser inspector, you can check to see what css is being applied to the list item and where it's coming from.

(just saw your note about using Backlight 2. I'll move this to that forum)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB