Center a script inside the secondary widget area?

Discussion in 'Harrington- A WordPress Business Theme.' started by lucentpools, Nov 25, 2014.

Thread Status:
Not open for further replies.
  1. lucentpools

    lucentpools Member

    Joined:
    Oct 16, 2014
    Messages:
    37
    Likes Received:
    0
    I am wanting to center a widget from houzz inside the secondary widget area. I have attached an image of the code in the secondary widget area below. Thank you for any help!
    secondary widget area.png
    Below is an image of the way it appears now.
    widget before.png
    Below is an image of how I would like it to appear.
    widget after.png
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !

    Please use below CSS code in custom style box.
    Code:
    .sidebar_widget .textwidget {
    padding: 2px;
    }
    .sidebar_widget .textwidget iframe {
    width: 100%;
    }
    .sidebar_widget .textwidget .review-body {
    padding: 5px 4px;
    }
    .sidebar_widget .textwidget .review-widget {
    width: 100%;
    }
    Thanks & Regards
    Pramod
     
    lucentpools likes this.
  3. lucentpools

    lucentpools Member

    Joined:
    Oct 16, 2014
    Messages:
    37
    Likes Received:
    0
    Perfect Thank you!
     
Thread Status:
Not open for further replies.

Share This Page