Treehouse: Grow your CSS skills. Land your dream job.

floating left works in dream weaver but its a Latter in wp sidebar

  • # April 9, 2013 at 7:54 pm

    Hi everyone, I put this seemingly simple color pallet together to point to some links for products under a certain color, and got it working great in dream weaver.

    Then i paste everything over to WP in a sidebar and the css sheet….
    (right sidebar, click “Browse By Color:”)

    And its all messed up… i was thinking… display:inline… etc but cant figure it out :-/

    Any ideas?

    Thank you!

    # April 9, 2013 at 8:31 pm

    Looking at your code there are “< br >” tags between each colour. If you remove those everything will look fine.


    # April 9, 2013 at 8:32 pm

    when you pasted the code into wordpress, it added a “
    ” for each “new line” in your html. If you go back in and set all your a tags to just be one right after another it should work

    # April 9, 2013 at 8:57 pm

    Thank you both, I new it was something ridiculous like this and now I remember this was an issue a long while back..


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.