Add a little "square" before a news colum on the homepage. (example)

Posted in: Newspaper
Post count: 9

I need to add this little “square” or little retangular element before a news colum on the homepage.

Does anyone know how I can do this?

One more example:

Post count: 21065

Hello @rayancruzneves !

Edit your article, add this element: https://prnt.sc/UibZrjkAeXJo in Gutenberg.
Then you can style it by using some CSS code:

li { list-style-type: square;}

Add it in the Live CSS box from that page: https://prnt.sc/qmKFrIKdDxd1

Thank you!

Post count: 9

I couldn’t put it in.

Where in my article do I put the List item?

Wordpress doesn’t allow me to put this item in the title.

I put it in a random part of the text, then inserted the code in Live CSS and nothing happened.

This is my website (after putting live css), the area in red is where I want to add the square

This is article editor (anexed images) Where do I put the List item?

Post count: 21065

Hello @rayancruzneves !

Please provide a link of your website.

Thank you!

Post count: 9

https://t.ly/Ayl7Z

Post count: 21065

Hello @rayancruzneves !

Edit the homepage with the TagDiv Composer, click on that element and add a class like this: https://prnt.sc/7RdNvr4p1nH6
Save and view the page. Open the Live CSS box: https://prnt.sc/1DsTrQsBVqZZ and paste this code:


.test h3.entry-title.td-module-title:before {
content: '';
width: 7px;
height: 7px;
background-color: black;
position: relative;
display: inline-block;
top: -2px;
margin-right: 5px;
}

Thank you!

Post count: 9

Perfect! Thank You

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.