News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Moving Links

Started by Viper013, March 15, 2023, 12:28:38 PM

Previous topic - Next topic

Viper013

Hello,

how can i move this 2 Links "Unread Topics and Unread Answers"
to the left beside the time-info.

Thanks for any advice.


Greetings
Steffen

Sir Osis of Liver

Which theme are you using?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Viper013

SMF 2.1.3

-SMF Default Theme - Curve2.

Colors changed with Mod "Curve2 Color Changer"

 :)

Shades.

Quote from: Viper013 on March 15, 2023, 01:49:18 PMColors changed with Mod "Curve2 Color Changer"
Is that the only mod you have installed?

If you're using the default theme, those links should be on the left. I don't know/think the color changer mod changes that code does it @Diego Andrés?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Sesquipedalian

Those links appear on the left side (next to the date) if there are any news items displayed on the right side of the header area. If there are no news items, then the links shift over to the right side.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Viper013

Hi Shades,

it happens when you change news-options in the theme-settings.
I just tried this on a fresh test-installation.

When you checked " Enable random news line in the forum header:"
then the links are on the left side.

When you dechecked this and checked "Show news fader on board index:"
then the links moved to the right side.


I guess its not a problem with other mods,...
anyway, i attach a screen shot with the mods i use on my main test-installation.


Greetings
Steffen



------------------------------------------------------------
EDIT:   Sesquipedalian was faster then me   :)  :)

Shades.

Quote from: Sesquipedalian on March 15, 2023, 05:06:42 PMThose links appear on the left side (next to the date) if there are any news items displayed on the right side of the header area. If there are no news items, then the links shift over to the right side.
Oh dang I never new that because I always have the news enabled! Learn something new every day! ;D

Quote from: Shades. on March 15, 2023, 04:06:37 PMI don't know/think the color changer mod changes that code does it @Diego Andrés?
Nevermind @Diego Andrés  ;D
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

TwitchisMental

This should do the trick -

Add this to your index.css -

.unread_links {
  flex: 1 1 auto;
  padding-left: 4px;
}

Viper013

Hi TwitchisMental,

.... and it works like a charme.  :)

Thank you very much !

Greetings
Steffen

TwitchisMental

Quote from: Viper013 on March 18, 2023, 12:03:36 PMHi TwitchisMental,

.... and it works like a charme.  :)

Thank you very much !

Greetings
Steffen
You're welcome.

Advertisement: