News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Symbol before a child board title

Started by bod22, January 13, 2023, 02:06:37 PM

Previous topic - Next topic

bod22

Is it possible to have somehow this symbol before each child board title and not only the first one, e.g. instead of a comma in this case?


Kindred

you'd have to change the template file - boardIndex.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bod22

Any clue what should I find there and replace or edit?

Antechinus

Quote from: Kindred on January 13, 2023, 02:25:56 PMyou'd have to change the template file - boardIndex.template.php
No, you do not. Not in 2.1. A template change is only necessary if the site in question is still on 2.0.x.

Antechinus

Quote from: bod22 on January 13, 2023, 04:06:11 PMAny clue what should I find there and replace or edit?
If you are using SMF 2.1 the commas are coded here:

Code (index.css) Select
.children span::after {
  content: ", ";
}

You can change that content to any other symbol, and add paddings or spaces as you wish.

bod22

Unfortunately, I'm still using SMF 2.0.18.

Steve

Why have you not upgraded. Just curious.
DO NOT pm me for support!

bod22

I'd like to upgrade but I use this great theme https://custom.simplemachines.org/index.php?theme=2917 created by @SychO and unfortunately it's not compatible with SMF 2.1 ;/ That's why I'm still operating on 2.0.18.

Advertisement: