inherit
200292
0
Feb 19, 2016 22:51:40 GMT -8
Shaliza
"Laughter is timeless, imagination has no age, and dreams are forever." - Walt Disney
545
September 2013
shaliza
|
Post by Shaliza on Jun 27, 2020 18:00:54 GMT -8
Hello: My forum URL: allkindsofeverything.boards.netI was wondering how I might be able to center the icons on the Legend Menu only. I tried to find other threads that may have asked this same question but came up empty. Any and all help is greatly appreciated. Thank you!
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Jun 27, 2020 21:00:57 GMT -8
Hi ShalizaThe following appears to do what you are requesting. Add to the Global Header inside <style></style> tags to affect all themes, or place at the bottom of the stylesheet for just one theme. /* Centres legend icons. */ .legend table { margin-left: auto; margin-right: auto; }
|
|
inherit
200292
0
Feb 19, 2016 22:51:40 GMT -8
Shaliza
"Laughter is timeless, imagination has no age, and dreams are forever." - Walt Disney
545
September 2013
shaliza
|
Post by Shaliza on Jun 28, 2020 20:42:30 GMT -8
Thanks so much for that Nscalerr. *hugs* It worked great when I added it to my Global Header. This is the correct coding without the "centres" as the plural did not work for me. <style> /* Centre legend icons */ .legend table { margin-left: auto; margin-right: auto; } </style> Thanks again. I really appreciate the help.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Jun 29, 2020 10:36:26 GMT -8
Thanks so much for that Nscalerr. *hugs* It worked great when I added it to my Global Header. This is the correct coding without the "centres" as the plural did not work for me. <style> /* Centre legend icons */ .legend table { margin-left: auto; margin-right: auto; } </style> Thanks again. I really appreciate the help. Just to note: this line: /* Centre legend icons */
is a comment line and has absolutely no effect on the coding - as it's ignored by the browser. As such, all of these variations would be ignored by the browser and have no effect at all on the coding: /* Centres legend icons */ /* Centre legend icons */ /* Centers legend icons */ /* Center legend icons */
|
|
inherit
200292
0
Feb 19, 2016 22:51:40 GMT -8
Shaliza
"Laughter is timeless, imagination has no age, and dreams are forever." - Walt Disney
545
September 2013
shaliza
|
Post by Shaliza on Jun 29, 2020 21:39:00 GMT -8
Thanks for that, Lynx. I appreciate the chance to learn new things.
|
|