Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2011
    Thanked 0 Times in 0 Posts

    Question New section not appearing as columns...

    Hi there,
    I'm actually not certain if this is a CSS thing or a PHP thing. I've added a custom post type to a WordPress development site. All is mostly appearing correctly, except that this new section content isn't appearing in 3 columns as the others are, and as far as I can see, the code is no different between them. I *believe* this is something to do with the CSS, but I'm just not certain:


    The section I'm having trouble with is a ways down the page, and is called Video Portfolio.



  2. #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Some say it's everything.
    Thanked 397 Times in 390 Posts
    Run your page through the HTML validator for a couple of clues:


    You have mismatched closing tags that are resulting in your "container" class div being closed before the video portfolio section begins. Commenting out a closing div tag seems to correct the issue but you'll need to clean up your code to make sure of which closing div tag you need to get rid of.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts