Support » Themes and Templates » Set a sidebar title’s background

  • I have set a background to every widget title in the sidebar and now it looks like that

    I want the background to appear on the right side of the title,
    first is the title and then the background appears, so the hole thing looks something like that

    So what kind of script or something I need to make the background (it’s a color not an image) to appear next to the title, not on its back.
    Is it PHP or JavaScript? Or it’s just CSS?

Viewing 2 replies - 1 through 2 (of 2 total)
  • modify your css.
    <div >
    <div id=”title”>
    <div id=”bg”>

    float: left;

    float: right
    background: ul(image)

    Code should be link above.

    That won’t help.
    This category title is the widget.
    I need to set a background color to each widget title in the sidebar
    and position it depending on the title width.

    #sidebar h2, .widget h2{
    	font-family:"Trebuchet MS";
    	font-size: 13pt;
    	font-style: normal;
    	font-weight: bold;
    	letter-spacing: normal;
    	margin:0 0 5px 0;

    That code manages the widget titles.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Set a sidebar title’s background’ is closed to new replies.