Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2012
    Posts
    23
    Thanks
    9
    Thanked 0 Times in 0 Posts

    CSS of Portfolio on Wordpress Not Showing Up Right.

    Hi everyone. I have a pretty simple problem to fix I think. I have a portfolio on my wordpress page and it is handled by a custom portfolio type called vertical scroll. Here is the link. Part of all of the pictures on the right side are getting cutoff. I had this problem before on other portfolios on the website and I think I fixed them all but I don't remember how. I don't know if it is strictly CSS, or possibly the portfolio-vertical.php, functions.php, or what. I know that doesn't really help much but I am going crazy trying to figure it out. I can't seem to find it with firebug. I thought it was overflow. All of my images that are landscape are 940 pixels wide so that is what I would need it at. If anyone could help I would sure appreciate it. I feel pretty dumb. Thank you for your help! If you are looking for more info on the theme I am using, here is the link to that: saveforweb

  • #2
    New Coder
    Join Date
    Mar 2010
    Posts
    58
    Thanks
    10
    Thanked 3 Times in 3 Posts
    It's being cut off because the div with the ID of 'main' has a width of 850px wide.
    Change the width to 940px and you should be fine.

    your CSS:
    Code:
    #main {
    width: 850px;
    float: left;
    margin: 0 0 0 255px;
    }
    Change to:
    Code:
    #main {
    width: 940px;
    float: left;
    margin: 0 0 0 255px;
    }

  • Users who have thanked gilgimech for this post:

    bradchristopher (01-31-2013)

  • #3
    New Coder
    Join Date
    Dec 2012
    Posts
    23
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Thank you so much for your help!! Everything looks good to go now! That isn't how I had done it before but, then again, I don't really know what I am doing. Thank you.


  •  

    Tags for this Thread

    Posting Permissions

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