Text Widget in Second Widget Area expands HTML image

Discussion in 'Local Business WordPress Theme' started by skon, Dec 19, 2016.

  1. skon

    skon Member

    Joined:
    Feb 11, 2013
    Messages:
    51
    Likes Received:
    1
    Location:
    Norwood, Massachusetts USA
    I have added a text widget for some HTML code, which displays a button that links to another website. However the button is expanding to fill the width of the text area. Here is an image that shows the problem: upload_2016-12-19_13-41-31.png

    How can I change this so the button is displayed properly?

    The link to this page is: http://homespecialistsinc.com/handyman-bio/feedback-form/

    The HTML code I'm using in this text widget is: <a href="http://www.bbb.org/boston/customer-...home-specialists-inc-in-norwood-ma-95118/add/" target="_blank" rel="nofollow"><img src="http://seal-boston.bbb.org/customer-reviews/badge-7-bbb-95118.png" style="border: 1;" alt="Home Specialists, Inc. BBB Business Review" /></a>

    I am using the Local Business Pro Responsive Theme and the text widget that has the HTML code is in the Secondary Widget Area. The text above is in the Primary Widget Area.

    Can you provide a solution?

    Thanks,
    Steve Konetchy
    Home Specialists, Inc. upload_2016-12-19_13-41-31.png
     
  2. shruti26

    shruti26 Guest

    Hi Steve,

    Greetings from InkThemes!

    To get the desired result just paste the code given below in Custom CSS section
    (Dashboard -> InkThemes -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    .sidebar img {
    width: auto;
    margin-top: 10px;
    max-width: 100%;
    }
    
    Hope this helps...!

    Thanks & Regards,
    Shruti Jain
    InkThemes.com
     
    skon likes this.
  3. skon

    skon Member

    Joined:
    Feb 11, 2013
    Messages:
    51
    Likes Received:
    1
    Location:
    Norwood, Massachusetts USA

    Thank you so much for the CSS code. It worked very well.
    Happy Holidays,
    Steve Konetchy
    Home Specialists, Inc.
     
  4. shruti26

    shruti26 Guest

    It's my pleasure Steve :)

    Feel free to contact us if you have any questions.

    Thanks & Regards,
    Shruti Jain
    InkThemes.com
     
    skon likes this.

Share This Page