Ask your WordPress questions! Pay money and get answers fast! (more info)

Need to center a widget WordPress

  • SOLVED

Hi! I cant figure out to center a widget horizontal. The theme is responsive so it should be centered also on devices. Right now it jumps around, but its never centered... need a little help.

Its about the black box on:

http://wp.klausdyba.com


Answers (3)

2012-11-28

Inam Hassan answers:

go to this file,
http://www.opentable.de/frontdoor/css/ot_short.css
there is class
.OT_wrapper
add attribute
position: absolute
and it works even responsively
it will work in IE 9, firefox, chrome, safari and opera,
i have checked

2012-11-28

Dbranes answers:

Hi

please try the two changes:

1) comment out the lines


/*left: 50% !important;*/
/* margin-left: -82px !important;*/


for .OT_wrapper in

http://wp.klausdyba.com/wp-content/uploads/headway/cache/general-9c02071.css?ver=3.4.2

2) change from

margin:0;


into

margin: auto;


for the #OT_form in

http://www.opentable.de/frontdoor/css/ot_short.css?v=Web_12_12_2_9.prod.de

---

Hope this helps

2012-11-28

Arnav Joy answers:

your link shows page not found ,