#Customizing sub-elements in the Citizen skin
7 messages · Page 1 of 1 (latest)
Yes, you can use JS, for example:
$(document).ready(function () {
$('.citizen-page-sidebar').after($('<your html>'));
});
(you have to replace <your html> with the actual html you want to insert)
Have you tried using this code? Did it work for you?
Tested it with other elements since the wiki I tried it on do not have a citizen-page-sidebar element
Could you share a link to your wiki?
My bad, I misread your question and thought you wanted to have the new element appear after the sidebar.
With append instead of after it should be placed inside the sidebar element:
$(document).ready(function () {
$('.citizen-page-sidebar').append($('<your html>'));
});
Yes, it worked. Thank you so much!