Wordpress and Webdesign Forum go41 » WordPress Code Snippets

  1. I am using Arthemia on this site: http://annstablefortwo.com

    In Firefox, it displays beautifully. However, in IE, you will notice that the bottom navbar appears in the right-hand sidebar. What am I missing? I can't see what the problem is but no matter what I do, I can't get it to align properly.

    My other issue is that I can't figure out how to put an image in the "featured" section. I see what seems to be a placeholder for an image but I don't know how to make it work.

    Can anyone help? I would appreciate it! :D

    Jenny

    Posted 2 years ago #
  2. Jenny, I just said good night in another thread, but having a look on your site I am sure your bottom and sidebar problem is just about div and /div
    You edited sidebar.php and changed something, I guess you deleted somewhere one closing </div> too much or you still have one left. If you do not find I will look tomorrow.

    About images, you seem to run arthemia and do not use the resizing script timthumb?
    How did you get the image in your headline post?

    Tomorrow is another day...

    Posted 2 years ago #
  3. LOL Joern, I just tried to get that image in over and over again til it worked. :) I don't know how to use timthumb; since I didn't understand it I left it alone.

    I have looked through the sidebar.php but can't see what I did. Unfortunately, this is not my biggest strength. I made this site for a friend of my father's who REALLY wanted this layout but she didn't know how to put together a website. Arthemia is more complex than the skins I've used in the past!

    Thanks again!

    Jenny

    Posted 2 years ago #
  4. Jenny, I think your problem is only on homepage view, right?
    So it should be in index.php.
    Does this site's index.php looks like this on the last lines:

    <?php get_sidebar(); ?>
    
    	</div>	
    
    <?php get_footer(); ?>

    I still think there has to be a </div> missing somewhere, on all pages, posts and archives it looks well, so it has to be in index.php

    about that image stuff in featured you first have to get the script to work, which is resizing the images.
    The developer of arthemia says:

    Thumbnails across the theme are configured using the Custom Fields. And images can be easily uploaded with WP Add Media feature. You should add a custom field called “Image” in every post and put the image filename and folder within the custom field value. For example, custom field name:
    Image
    custom field value:
    wp-content/uploads/2008/04/pool.jpg.
    How about the different image sizes for each thumbnails? Well, no worry for that because Arthemia has its own image resizer. Just upload one big-sized image and everything is under control.

    Posted 2 years ago #
  5. The problem actually happens in all views. I went through the index.php line by line alongside the original copy of the page. After fixing that one tag you mentioned, the tags are identical. I'm so frustrated because of this and I can't figure it out. I know it has to be something small. I wondered if somehow the get_footer was maybe in the wrong place, but if that was the case, it wouldn't look good in firefox, right?

    I actually posted on the arthemia forum first because I hoped the developer might have an insight. I hate to keep relying on you for advice but so far, you're the only person who has replied to my questions! :)

    Originally, the only thing I changed in the footer php was to delete the "most commented" list--I didn't touch the surrounding code, just that content. I don't think that should have impacted where it appears on the page, but I can't think of anything else I might have done to break it.

    Any other suggestions would be welcome.

    Jenny

    Posted 2 years ago #
  6. I got the feeling it looks all right now.

    But in IE - bad. One more possibility: in the sidebar is a widget with a table (Affiliates & Sponsors)
    This table starts correctly:

    <table>
    <tr>
    ...

    but is not closed correctly, one '>' is missing a last character:

    </tr>
    </table

    should read

    </tr>
    </table>

    In this table are some not well formatted img tags, they should end with /> and have an alt tag, sample:
    <img src="images/armataslogo.jpg" alt="" />
    the following 'br' has to look like this
    <br />

    btw, found this and some more errors on checking the site here:
    http://validator.w3.org/check?uri=http%3A%2F%2Fannstablefortwo.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.767

    hope it helps

    Posted 2 years ago #
  7. That table tag was the problem!! No wonder I didn't catch it by looking in the page files. I had no idea. Thank you!!

    Also, thanks for the link to the validator website. I will be using that from now on to check for problems on my other sites as well.

    Seriously, thank you. :D My client will be thrilled!

    Jenny

    Posted 2 years ago #
  8. great! I see, in IE it's perfect now. It was just one '>' ...

    Having a question you are welcome here, on arthemia forum I got long time ago the feeling that it's almost only me answering, now I fill my own site with answers what I prefer.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.

Join us! or log in (lost password?):