• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Need to Add Images to widget titles

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Need to Add Images to widget titles

This topic is: resolved

Tagged: custom, images, widget titles

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 4 months ago by varshasalvi.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 13, 2014 at 12:41 pm #114149
    varshasalvi
    Member

    Hi,
    I am trying to add images to the widget titles of my blog but just not able to get it right. My blog is on the Beautiful Pro theme and I am looking to put images next to widget titles for "Categories" and "Archives".
    Can anyone help ?

    I tried adding the image through the text widget so that it would display on the sidebar , however i cannot seem to adjust the position next to category widget. Is it possible to change the positions of widgets ?

    http://designforsoul.com
    July 13, 2014 at 1:20 pm #114153
    DTHkelly
    Member

    Some reference:
    http://rickrduncan.com/wordpress/customize-wordpress-widget-titles

    July 13, 2014 at 1:55 pm #114158
    varshasalvi
    Member

    thanks Kellylise , however that is not working i have tried the css code mentioned in that post

    July 13, 2014 at 9:30 pm #114200
    varshasalvi
    Member

    hi found the solution . Here is following code in CSS for adding images to widget titles

    /* Titles */
    .widget_categories .widget-title {
    background: url("img url.png") no-repeat scroll left bottom center;
    height: 82px;
    padding-top: 60px;
    }

    .widget-title {
    background: url("img url.png") no-repeat scroll left bottom rgba(0, 0, 0, 0);

    }
    Please note that the first snippet is to add an image only to the CATEGORIES widget in the sidebar
    Second snippet is to add image to all the widgets in the sidebar. you would have to adjust the height and padding values according to your layout.
    This code worked for me and i did not make any changes in functions.php file.

    Hope this would help anyone interested in the same problem.
    I am using the beautiful pro theme.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Need to Add Images to widget titles’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble