Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SOLVED Facebook widget breaks css in sidebar
#3
ok, I found some sort of solution but its more of a hack anyway:

sidebar:
Code:
<div id="likebox-wrapper"><?php get_component('facebook'); ?></div>

css file:
Code:
#likebox-wrapper * {
   width: 103% !important;
}

Why the 103% you ask? because somehow 100% broke the FB internal padding or spacing and it looked ugly:

100%:
[Image: QnmKjvQ.png]

103%:
[Image: q7jyg9F.png]

103% when not logged into FB:
[Image: rdNyK9T.png]

It'll have to do for now.
Reply


Messages In This Thread
RE: Facebook widget breaks css in sidebar - by dikkewalter - 2015-03-16, 07:40:43



Users browsing this thread: 1 Guest(s)