Support » Themes and Templates » Display sidebar name
5 years, 11 months ago
Hello I’m looking how to display the name of my sidebar on top of it.
Lets say that I have a sidebar named news and I want to show NEWS on the top before the widgets, as a title.
I’m not a php expert so if anyone have an idea, I will be very grateful…
thanks for your help.
If you are using widget then you can give any title to it..
Hello thanks for your answer, but each widget have his own title. I need one title for the whole sidebar like :
NEWS (sidebar title)
widget1 (widget title)
widget2 (widget title)
widget3 (widget title)
Thats why the widget title cannot work.
sorry for my bad english
If you are using a template
that you created,
you can hard code the title into it, and set up the styles within your css file.
then change in the sidebar.php with some CSS to it above the code which checks the availability of dynamic-sidebar..
Yes I think I will do this.. it’s easier.
Thanks for your help…