• 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

How to set transparent background on Images

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 › How to set transparent background on Images

This topic is: not resolved

Tagged: image transparency

  • This topic has 3 replies, 3 voices, and was last updated 10 years, 2 months ago by Marc.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 3, 2013 at 9:18 am #48969
    laurencubed
    Member

    I have been trying to get the background on my images to be transparent. I have this code:

    Vet-Co DogVet-Co proudly servers the New Mexico animal community. For your convenience we have veterinary clinics in both Albuquerque and Los Lunas.

    But you can see on the page (http://www.vetconm.com/contact-us/) that it is not transparent.

    I am using the (in)Spyre theme.

    How do I fix this?

    http://www.vetconm.com
    July 3, 2013 at 9:42 am #48978
    Marc
    Participant

    With Photoshop or similar. WordPress does not have the capability to edit your photo to that extent.


    Resultz Digital | Websites, search marketing services and consulting for small business.

    July 3, 2013 at 9:47 am #48982
    Stewart
    Member

    Hi,

    The problem looks like you have a background color set to #fff on line 274 of your style.css.

    #content .wp-post-image,
    #content img.alignleft,
    #content img.alignright,
    #content img.aligncenter,
    #content img.alignnone {
    background: #fff;
    border: 1px solid #c0c0c0;
    padding: 1px;
    }

    your can just remove the background color for the above code and that should fix the problem for you.

    Hope this helps
    Stewart


    WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
    Follow me on Twitter

    July 3, 2013 at 10:00 am #48984
    Marc
    Participant

    Stewart got the fix correct, good catch.

    My error and sorry for my incorrect assumption.

    Per Emily Litella -
    never mind


    Resultz Digital | Websites, search marketing services and consulting for small business.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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