- This topic is empty.
August 9, 2012 at 1:42 pm #39289
I have a existing website with is a 2 columns and a sidebar. I am trying to implement a service directory program into the existing design. The program uses clear:both in divs, the problem is if I leave the side bar in place it shoves all the text to the bottom of my webpage, if I remove the sidebar it works fine. I have tried changing the width and removing some of the clear:both divs, but it then screws up the programs output. I am not sure what the sidebar does to the clear:both. Any ideas?August 9, 2012 at 1:52 pm #107585TheDocModerator
Do you have a link?August 9, 2012 at 2:16 pm #107596
Sorry, here is the link Submit Listing
As you will see the registration is all the way on the bottom when it should be at the top under where the buttons are located.August 9, 2012 at 3:24 pm #107610wolfcry911Participant
The sidebar is a float, so the clear:both on the input parent’s parent is forcing the content below the sidebar. This is the clearfix method – its used to have an element contain floating children (the div containing the inputs is a float). I would remove the ‘cf’ class from the grandparent div (with the class of ‘wpbdp-bar’) and the float from .wpdbp-main-linksAugust 9, 2012 at 8:20 pm #107634
It is a wordpress theme, I didn’t code it, I am just trying to get the directory plug in work display correctly.
- The forum ‘CSS’ is closed to new topics and replies.