Forums

[resolved] CSS help + [...] ????? (7 posts)

  1. webjuly31
    Member
    Posted 1 year ago #

    I have attempted my first customisation and need help with fixing the positioning of everything on the page. I would like to make the left and right spacing the same width.

    The CSS is also not being recognised even though the link to it is correct.
    http://toyakankarate.com.au/blog/wp-content/themes/toya1/style.css

    How do I make WP show all the content?
    Example: http://toyakankarate.com.au/blog/our-dojo/

    I will appreciate any help provided as I am really stuck.

  2. Darrell Schauss
    Member
    Posted 1 year ago #

    All of this is at the very top where it shouldn't be. You have this body and another body.

    <link rel="stylesheet" href="http://toyakankarate.com.au/blog/wp-content/themes/toya1/style.css" type="text/css" media="screen" />
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="1280" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td background="http://toyakankarate.com.au/images/goldcoast-karate_02.gif">

    I also dont see the opening first <head> before the meta and styles.
    The very first thing should be the <!DOCTYPE and no spaces before it.
    then HTML...HEAD...TITLE.../HEAD... BODY... TABLE

    The 1280px are too big on the tables causing the page to stop on the browser left way too soon before the shadow.

  3. webjuly31
    Member
    Posted 1 year ago #

    This is what I have in the header:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /><!-- leave this for stats -->
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
  4. webjuly31
    Member
    Posted 1 year ago #

    I can see I have got my index.php all mucked up. I will see if I can fix it.

  5. webjuly31
    Member
    Posted 1 year ago #

    I have fixed all the css.

    How do I make WP show all the content?
    Example: http://toyakankarate.com.au/blog/our-dojo/

    Read full article link does not open the entire post.

    Thank you

  6. Darrell Schauss
    Member
    Posted 1 year ago #

    When viewing a full blog post it uses single.php template or you need to make one.
    http://toyakankarate.com.au/blog/2010/07/test-2/

    When viewing a full page it uses page.php template or you need to make one.
    http://toyakankarate.com.au/blog/our-dojo/

    It doesn't look like you have single.php or page.php. You can copy index.php to make those two files then change the code so it shows full <?php the_content(); ?> and not the "Read full article" text.

  7. webjuly31
    Member
    Posted 1 year ago #

    Many thanks; I really appreciate this advice. I will give it a go.

Topic Closed

This topic has been closed to new replies.

About this Topic