Support » Themes and Templates » Display sidebar name

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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)
    blablablablabalablab

    widget2 (widget title)
    babdasbabababab

    widget3 (widget title)
    blablablablabalablab

    ————————————
    Thats why the widget title cannot work.
    sorry for my bad english

    If you are using a template
    sidebar-news.php
    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…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display sidebar name’ is closed to new replies.