• 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

Graphics for 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 › Design Tips and Tricks › Graphics for Widget Titles

This topic is: not resolved

Tagged: widget header titles title graphics graphic text

  • This topic has 7 replies, 2 voices, and was last updated 8 years, 9 months ago by Lauren @ OnceCoupled.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • June 9, 2014 at 11:26 am #108634
    reemalhashmi
    Member

    Hey!

    I would like to integrate graphics as titles/headers for my widgets, instead of having just text. Is this possible and if so, how can I achieve this? Also it would have to be individually different, i.e.: Search widget would have a graphic with the word "Search" and the Site Pages widget would have a graphic with the word "Pages".

    I am using the Lifestyle Pro theme and my website is at http://www.reemalhashmi.com

    Thanks!

    http://www.reemalhashmi.com
    June 9, 2014 at 1:34 pm #108649
    Lauren @ OnceCoupled
    Member

    Use the unique identifier of each widget (found using your browser's inspector) to target each widget:

    #simple-social-icons-2 h4 {
         height: 40px;
         text-indent: -9999px;
         background: #FFF url('http://i0.wp.com/reemalhashmi.com/wp-content/uploads/2014/04/IMG_8192-e1402301425755.jpg?resize=634%2C360') no-repeat center center;
         background-size: 100%;
    }

    Just replace the background image with whatever you really want to use (I grabbed a URL from your page). You may need to tweak the code to fit the image you use. Remember to check your page at multiple screen sizes to make sure the background image is resizing the way you'd like it to.

    Best,
    Lauren


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    June 18, 2014 at 2:58 pm #110414
    reemalhashmi
    Member

    Hi!

    I finally got around to making the graphics for my widgets, and I figured out how to customise one for my social icons. Now I can't figure out how to find my widget IDs 🙁 I went through the Style.css of my Lifestyle theme and tried using "cmd-f" and couldn't find anything...

    How can I find them?

    Thanks!

    June 18, 2014 at 7:07 pm #110456
    Lauren @ OnceCoupled
    Member

    Use your browser inspector to find the IDs. You'll need to read through a little of the HTML. Right click inside your widget and choose something like "Inspect Element".

    For instance, your widget titled "Who am I?" has this unique ID: id="user-profile-2"


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    June 19, 2014 at 1:05 pm #110600
    reemalhashmi
    Member

    Alright, I figured out what you meant by browser inspector now, haha! I finished adding all graphics to my widgets, they look great on my Mac, but when I open them on a desktop or another laptop, they look kinda off. I don't know how to explain it but it's like when there is a big/high resolution picture that's been zoomed out so the pixels look weird. Does that make sense?

    Do I have to make the graphics smaller? I did them on Photoshop and the resolution was set to 300ppi...
    Would I have to resize the graphic itself or just change the resolution?

    June 19, 2014 at 2:19 pm #110632
    Lauren @ OnceCoupled
    Member

    Hm, I am seeing that happen when I scroll. I'm not a graphics expert, but I'd expect it is because of your large image size. The image width is 836px, but your sidebar is only 266px, so it's being scaled down a lot.


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    June 21, 2014 at 5:55 am #110931
    reemalhashmi
    Member

    The thing is, when I try a smaller canvas in Photoshop, 266x120 (which is the dimensions set for the social icons widget, it gets very blurry and fuzzy. I tried with 70 ppi, 150ppi, 300ppi and even 1000ppi, and nothing seems to fix the fuzziness. I'm at a loss at the moment.

    June 21, 2014 at 8:44 am #110946
    Lauren @ OnceCoupled
    Member

    Unfortunately, I'm not a graphics expert. :/ Anything I do create is through Illustrator, so I can use vectors and when I export it at the size I need, it's always crisp. You may have to look for graphic-specific help on this one!


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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