inherit
219598
0
Nov 12, 2016 6:44:49 GMT -8
Rebecca
23
March 2015
rebeccagf
|
Post by Rebecca on Nov 13, 2016 14:00:27 GMT -8
Hello everyone! I was making a theme for my forum and I wanted to edit close button and draft message background in pop up dialogue. Since my knowledge on coding is very limited, I posted the question here and Kami helped me edit message draft box but was unable to help me edit close button, providing the explanation as to why that may not be possible to do through template modification. I would like to know if it is possible to edit close button and how could that be achieved. Thank you in advance and have a great day!
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Nov 13, 2016 14:09:36 GMT -8
Hi, Rebecca . This would be done entirely through CSS rather than the templates. Since the close button is just an element with a background image you should be able to make an addition to the bottom of Themes > Advanced Styles & CSS > Style Sheet to replace that background image with your own. There's no template associated with the dialogs which is why it's not possible to modify their underlying HTML through a template modification.
|
|
inherit
219598
0
Nov 12, 2016 6:44:49 GMT -8
Rebecca
23
March 2015
rebeccagf
|
Post by Rebecca on Nov 13, 2016 14:12:56 GMT -8
Hi, Rebecca . Question, do you want to change this close button no matter what dialogue box it is or for a specific dialogue box? Hello Ulises. I would like the change to be the same for every dialogue box. May I ask would it be too much to ask for code for specific dialogue box as well as it might come in handy for other themes. Thank you.
|
|
inherit
219598
0
Nov 12, 2016 6:44:49 GMT -8
Rebecca
23
March 2015
rebeccagf
|
Post by Rebecca on Nov 13, 2016 14:15:04 GMT -8
Hi, Rebecca . This would be done entirely through CSS rather than the templates. Since the close button is just an element with a background image you should be able to make an addition to the bottom of Themes > Advanced Styles & CSS > Style Sheet to replace that background image with your own. There's no template associated with the dialogs which is why it's not possible to modify their underlying HTML through a template modification. Hello Brian Ordonez. I posted before I saw your reply. Thank you for the code.
|
|
inherit
219598
0
Nov 12, 2016 6:44:49 GMT -8
Rebecca
23
March 2015
rebeccagf
|
Post by Rebecca on Nov 13, 2016 14:35:39 GMT -8
Just wanted to say the code works perfectly. Thank you very much Brian !
|
|