Forums

Read more/Comments link problems (6 posts)

  1. Lunddesign
    Member
    Posted 1 month ago #

    Hi guys, I need some help with my design for the Starkers Blank Theme so I hope you can help me out here.

    It's a little complicated, but I'll try my best to explain it for you. The homepage (index.php) for my site is were my blog entries show up. And for each blog entry there's three links, right? The name of the article, which takes me to the single.php file and it works perfectly, my design looks how it should.

    The read more link which comes after the summary of the blog entry and the comments link which comes at the bottom of each blog entry does not work at all for some reason. So what I want to know is where can I style these two pages or just make them the same as the single.php.

    And I got one more problem. It's probably weirder then the first one. At my contact page I have a form, right? But when the form is completed and you press "Send" my design gets the same problem as with the read more/comments link. But the URL doesn't change in this case.

    Any ideas how I could fix this?

    Thanks for helping!

  2. esmi
    Member
    Posted 1 month ago #

    So what I want to know is where can I style these two pages or just make them the same as the single.php.

    Wrong way around. Those links are supposed to go to the single.php page, so you need to look out why the links are failing.

    A link to your site might help here...

  3. Lunddesign
    Member
    Posted 1 month ago #

    Thanks a lot! My site is in Norwegian, that's why I didn't post it, but the files are pretty much English except where the text that shows up on the page.

    http://test.mz-tricks.com

    Just to help you out a little.
    Enlgish - Norwegian
    Read more - Les mer
    Comments - Kommentarer (In this case; No comments - Ingen kommentarer)
    Contact - Kontakt

    I hope this helps. If not just let me know and I'll do anything so it's easier for you to fix it!

    And here's the PHP that's makes the links (read more - les mer, comments - kommentarer)

    <?php the_content('Les Mer »'); ?>

    <p><?php comments_popup_link('Ingen Kommentarer »', '1 Kommentar »', '% Kommentarer »'); ?></p>

    I guess it's here the problem lies...

    Again, thanks for the help!

  4. esmi
    Member
    Posted 1 month ago #

    The php is fine. As is single.php. It's the CSS in that theme that is seriously whacked. Follow the "Ingen kommentarer" link and you get only the copmment form with no post. Disable the CSS on that page (or view the page source) and you'll see the entire post. I did try to see if I could find a quick fix but a stylesheet that includes:

    margin-bottom:-5000px;
    padding-bottom:5000px;

    on the main content area needs a lot more than a quick fix.

    Sorry but that theme needs some serious work.

  5. Lunddesign
    Member
    Posted 1 month ago #

    But why does everything else work? I don't understand. That margin/padding code is necessary if I want by right content to extend all the way down to the footer. Some more hints would be nice so I maybe can fix it myself. :)

  6. Lunddesign
    Member
    Posted 1 month ago #

    I'm gonna bump this just in case someone wants to help me out. :) Plz!

Reply

You must log in to post.

About this Topic