Forum Replies Created

Viewing 15 replies - 181 through 195 (of 268 total)
  • Could you be more specific about which formatting isn’t correct, and what it should be? It looks like the right sidebar is influenced by the formatting for anchor tags, but there are only div elements in the left sidebar, which is part of the difference.

    Ah yes, you would have to make the changes that you mentioned to the other pages. Glad I could help out ๐Ÿ™‚

    Forum: Fixing WordPress
    In reply to: Basic HTML

    I regularly create table-less layouts for sites that look the same from browser to browser using HTML and/or XHTML and CSS. esmi is 100% correct… Sites laid out with tables are a thing of the past. Keep tables for what they were meant for… tabular (think spreadsheet) data.

    Forum: Fixing WordPress
    In reply to: Basic HTML

    There are a couple things here…

    1. I highly recommend NOT using tables. They add lots of extra code that simply isn’t needed.
    2. Your image isn’t showing up because the code has src="HadlyPic_SWS.png", which the browser interprets as being in the same folder location as the current file, which would therefore be http://dalebjohnston.wordpress.com/about/HadlyPic_SWS.png. If your image is located somewhere else, make sure to change the src attribute to the full URL of the image.
    3. Your background colors are being overridden by the style sheet. However, this is a bit unusual, as the inline style attribute should override the stylesheet. That might take some more in-depth investigation into what’s actually going on. In the meantime, you could try making adjustments to your stylesheet (it appears that the background color that’s overriding your background color is on line #9… However not using Tables may also help)
    4. The cell padding issue is also from your stylesheet. Check out line #88

    That should be enough to get you started, I think.

    It’s possible that the problem is more simple… When you create a new page or post on the iPhone or iPad app, the default setting is to create a local copy. You have to change the post setting to actually post live to the website. Is it possible that this was overlooked?

    Forum: Fixing WordPress
    In reply to: Basic HTML

    Your problems are probably stemming from some HTML not being output correctly (WordPress is designed to remove certain HTML tags from posts and pages) and unexpected styling in your CSS.

    Can you post a link to your site so we can see specifically what might be wrong?

    Iain is right… this isn’t the right place for graphics editing.

    However, it’s not nearly as hard as you think. Yon don’t even really need a professional level program like Photoshop. You could easily download GIMP and do it yourself. It’s at least worth a shot. Otherwise, you may want to look for some image editing forums where someone may be able to help you.

    It’s a repeating background image. Look at line 344 of your stylesheet. Your background property is set to “transparent url(images/dot.gif)”. Remove the “url(images/dot.gif)” part, and that will get rid of the dots.

    I see how the rounded tops and bottoms are getting there… The theme is originally using a <div> before and after the post (the first section). The top has id="postheader" and the bottom has id="postfooter". These are how the rounded corners are created.

    Unfortunately, you can only have one element with any given id on each page. The way you would work around this is to change these DIVs to use a class instead. If you did that, then you could insert them before and after your own posts just like the original. Here’s what the modification would look like in the code: http://wordpress.pastebin.com/kcPGwhaf.

    What you would then have to do is find any reference to #postheader and #postfooter in your CSS file, and change them to .postheader and .postfooter respectively. That will correctly change the styling.

    Check out the background-color property on line 121 of your style.css file. That should be what you need to adjust.

    It looks like most of the problem is syntax. Here are some problems I see:

    1. You’re mixing HTML and PHP improperly. HTML tags (i.e. the <strong> tags) either need to be outside of the <?php ?> containers, or they need to be printed with the echo function.
    2. For logical operations, make sure you’re using the correct operators. The “or” operator is a double pipe || not the word “or”.
    3. Double-check the usage of Function_Reference/wp_title , Function_Reference/bloginfo, and Function_Reference/get_bloginfo

    It’s best to be patient when waiting for a response on a topic. Responses usually come within 24 hours, not within 1 or 2. To the best of my knowledge, there are only volunteers here, not full-time employees waiting to respond to every new thread as soon as it comes in. You may also want to take a look at the Forum_Welcome page.

    With that said, check out your header.php file (should be located in http://pparklaw.com/wp-content/themes/PRiNZ_BranfordMagazine_latest/header.php). Most likely, there is some PHP code prior to the dash in you <title> element that is returning nothing. Delete the PHP code and the dash that comes prior to your blog name.

    I’ve made a few tweaks that may help. Because the code is a bit on the long side, I’ve started a pastbin. Here’s the link:

    http://wordpress.pastebin.com/MSyB7cHz

    Try using the code I modified, and see what results you get.

    See my edited version of the previous post. I realized that you didn’t want to delete the comments link completely and modified my response accordingly.

    I double-checked your link and it doesn’t look like you’ve updated to the changed version yet. Let me know when you have it up and I’ll take a look (it’s often easier to look at final version instead of only the PHP templalte code).

    Try adding the code you mentioned in the post above before the <?php get_footer(); ?> line.

    The most common format for a WordPress page template to take is this (obviously this is simplified):

    <?php
    /*
     * Template name: <template name>
     */
    get_header();
    if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    <!-- the HTML and PHP styling for each individual post goes here -->
    <?php endwhile; ?>
    <? get_sidebar(); /* If you have a sidebar! */ ?>
    <? get_footer(); ?>

    In regards to the comments thing, find this line in your code:

    <?php comments_popup_link('No Comments ยป', '1 Comment ยป', '% Comments ยป'); ?>

    and change it to this:

    <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
Viewing 15 replies - 181 through 195 (of 268 total)