I'm THAT close!!!! (adult site)

14 replies
I'm like a freeking split hair away from fixing this php on my site.

This is an ADULT site, so please don't view it if you'll be offended.

www.phonesexkingdom.com/queens

The table of "girls" should go in a row across in 5 photos - I'm not sure why they wont - and don't know how to make it so they do?

This page...

www.princessphonesex.com/home.php has the same exact script I'm using except I removed the name under the girl and the status indicator.

Why aren't the tables the same?
#adult #close #php #site
  • Profile picture of the author Mark Ford
    <div class="girl"> is not in your style sheet, so it doesn't know how to display it?
    {{ DiscussionBoard.errors[3874032].message }}
  • Profile picture of the author ReikiGirl
    Hmmph So I just put that in my stylesheet somewhere?
    {{ DiscussionBoard.errors[3874048].message }}
  • Profile picture of the author ReikiGirl
    .girl {
    width: 20%;
    float:left;
    text-align:center;
    margin-bottom:15px;
    margin-top:10px;
    }

    Might that be what I add, or no? I'm just looking at the style sheet on princessphonesex and trying to find what I may need.
    {{ DiscussionBoard.errors[3874059].message }}
    • Profile picture of the author ReikiGirl
      Originally Posted by ReikiGirl View Post

      .girl {
      width: 20%;
      float:left;
      text-align:center;
      margin-bottom:15px;
      margin-top:10px;
      }

      Might that be what I add, or no? I'm just looking at the style sheet on princessphonesex and trying to find what I may need.

      Nope, that wasn't it lol.
      {{ DiscussionBoard.errors[3874075].message }}
    • Profile picture of the author Mark Ford
      Yes, that is the style on the index page but its missing on the other page so it doesn't know how to display the thumbnails.

      The two pages are totally different layouts so you simply just can't copy one to the other.

      You need to add .girls to your stylesheet as its calling the style in <div class="girl"> in your new page and then style it so it displays correctly.

      Good luck
      {{ DiscussionBoard.errors[3874090].message }}
  • Profile picture of the author ReikiGirl
    YES!!!!! Found it!!!!!!!!! Had to be the WORDPRESS stylesheet!!!

    THank you Mark!
    {{ DiscussionBoard.errors[3874095].message }}
    • Profile picture of the author Mark Ford
      You are welcome - I know what it's like to stare at something for a while when your brain is foggy trying to figure out what it is you missed
      {{ DiscussionBoard.errors[3874176].message }}
      • Profile picture of the author ReikiGirl
        Originally Posted by Mark Ford View Post

        You are welcome - I know what it's like to stare at something for a while when your brain is foggy trying to figure out what it is you missed

        I really sat on that for like 2 hours before I came here to the forum and asked, and voila quickly you helped me out! Woo hoo.

        Now for you, or anyone who may know - if you check

        www.phonesexkingdom.com/queens the table is 5 girls across, and that only fits perfectly if there is no padding. I know some photos aren't showing, but I just haven't uploaded those yet.

        How do I take out the padding - OR make the row only 4 girls across which I'd rather not do.
        {{ DiscussionBoard.errors[3875800].message }}
  • Profile picture of the author mojojuju
    Charlie is looking kind of derpy
    Signature

    :)

    {{ DiscussionBoard.errors[3874838].message }}
    • Profile picture of the author ReikiGirl
      Originally Posted by mojojuju View Post

      Charlie is looking kind of derpy
      What the heck is derpy?
      {{ DiscussionBoard.errors[3875392].message }}
  • Profile picture of the author andrejvasso
    Hi Reiki,

    Before i can try to help you out, I would like to know what table you are speaking of? As far as I can see, each queen resides in her own div class while all are inside a hidden div and everything is inside a table column. Additionaly, you have some wrong inline css there too (see align="center" in example).

    So what I would suggest here is to dump this completly and make a nice and clean html table. To give you an idea, what it COULD look like, i put together a quick table template:

    HTML Code:
    <style type="text/css">
    .queens{
    overflow: hidden;
    width:750px;
    margin:0 auto; /* replaces your align="center" */
    text-align: center;
    }
    .girls{
    /* add styles for your grils */
    }
    </style>
    <table class="queens">
    <tr>
    <td class="girls"><a href="http://www.phonesexkingdom.com/kayla"><img src="http://www.phonesexkingdom.com/ladies/kayla.jpg"></a></td>
    <td class="girls"><a href="http://www.phonesexkingdom.com/kayla"><img src="http://www.phonesexkingdom.com/ladies/kayla.jpg"></a></td>
    <td class="girls"><a href="http://www.phonesexkingdom.com/kayla"><img src="http://www.phonesexkingdom.com/ladies/kayla.jpg"></a></td>
    <td class="girls"><a href="http://www.phonesexkingdom.com/kayla"><img src="http://www.phonesexkingdom.com/ladies/kayla.jpg"></a></td>
    <td class="girls"><a href="http://www.phonesexkingdom.com/kayla"><img src="http://www.phonesexkingdom.com/ladies/kayla.jpg"></a></td>
    </tr>
    </table>
    i hope this gives you an idea how to create a clean and simple table. i didnt have the time to make a more complex example that matches your pagestyle.

    before you go and paste it into your live site, I recommend you to check out the code above on your local server or via an online code tester: (http://cssdesk.com/V3cak)
    {{ DiscussionBoard.errors[3877475].message }}
  • Profile picture of the author kStarDacTeam
    @andrejvasso:
    This won't work, you made a typo in the girls class name on td tags.
    {{ DiscussionBoard.errors[3877517].message }}
    • Profile picture of the author andrejvasso
      Originally Posted by kStarDacTeam View Post

      @andrejvasso:
      This won't work, you made a typo in the girls class name on td tags.
      You are right! I have made a typo and copy&pasted it I have corrected this and the code sample should work fine.
      {{ DiscussionBoard.errors[3877545].message }}
  • Profile picture of the author hhunt
    I just noticed the type as well, that might explain the issue.
    {{ DiscussionBoard.errors[3879828].message }}

Trending Topics