Forum Replies Created

Viewing 15 replies - 46 through 60 (of 65 total)
  • Forum: Fixing WordPress
    In reply to: css problems
    Thread Starter nessler

    (@nessler)

    ok I fixed most things, however the recurring one is this

    Line 219, Column 4: element “h9” undefined

    h9 is defined in the style.css as such

    h9{
    	font-family: "Trebuchet MS";
    	font-size: 16px;
    	color: #10A7CD;
    
    }
    h9 span{
    	font-family: "Trebuchet MS";
    	font-size: 14px;
    	font-style: italic;
    	color: #FFFFFF;
    	margin-left: 2em;
    
    }

    I needed to make a change in the header calling, as the classes returned errors on the validator so it is called like this at the moment.

    <div class="itemhead">
    <h9><?php the_title(); ?><span><?php the_time('F jS, Y') ?></span></h9> <!-- by <?php the_author() ?> -->
                                              </div>

    Only in IE this is not working, I inserted an IE only css but it’s not working so far…

    Forum: Fixing WordPress
    In reply to: css problems
    Thread Starter nessler

    (@nessler)

    ok thanks, I started but I hit a problem I have been trying to solve before but got no reply to.

    My site existed before I started using wordpress, thus there already is an external header I use for all pages, except those I use with wordpress blogs.
    those pages are news.php, diary.php and media.php.
    These 3 still have a header in the php file itself (for now).

    I call my blog using the short and sweet code, but then it also loads
    the scond header and I can’t make the suggested changes there since the blog ceizes to exist.

    so the best thing I need to do is to combine the headers, but I am failing in doiing so.

    any tips ?

    I uploaded the fiels in a zip file, just to be sure
    https://www.fortherestless.com/ftr.zip

    Cleared op a few errors, 67 still to go…

    thanks for your help in advance !

    Thread Starter nessler

    (@nessler)

    ok, fixed the archive and the page itself for most part.

    Using Adobe’s testlab for different browsers there are still a lot of things that need to be addressed for IE.

    I included the style sheet especiially for IE, but not much luck as of now.

    in IE6 the headers are still white, and the posts are in a grey backround instead of darkblue,

    In IE7 and IE8 the headers are still white,

    and in IE9 the colours are correct but the fifth post suddenly still shifts. Why this happens and not in the other IE versions is really beyond my comprehension.

    Any ideas ?

    Thread Starter nessler

    (@nessler)

    well, since yesterday evening my menu is missing, suddenly out of the blue.
    might have something to do with that too I think.
    It’s a javascript based one created with allweb menu’s and for some reason, when I did a reset of all the files on the server, it won’t come back.

    will be working on it, as for the errors I realise that they are there, but
    I wouldn’t know what they are or how to fix them.

    does that validator point them out ?

    I’ll try to clean up everything the following days since I’ve been working on it for weeks now with so little result…

    Thread Starter nessler

    (@nessler)

    well I’d certainly appreciate it if you could help me out if you would be willing to do that.

    Don’t have much in return though … other then my thanks ??

    I’ve been toying around a bit but didn’t get that far…
    Did found adobe’s browserlab which allows me to see what’s happening on different browser versions.

    Forum: Themes and Templates
    In reply to: CSS problems
    Thread Starter nessler

    (@nessler)

    oh sorry,
    I thought adobe browserlab was availble to everyone, apparentley not.

    https://www.fortherestless.com/news.php is the one with the problem.

    that page (using IE7) shows post titles and dates in white,
    however when hitting the archive button it appears the way it should.
    well, almost since the date is also in italics.

    Using IE9, both the news.php and archives show correctly,
    however the fifth post suddenly jumps forward a few pixels instead of beiing centered.

    the site is correctly displayed in firefox. (of course…)

    I used Yvo Schaap’s theme creator but since I threw out a lot of things the css files I am using contain too much data, and I am cleaning them up at the moment but this is what they look like at the moment.

    https://www.fortherestless.com/screendiarynews.css
    https://www.fortherestless.com/forms/newz/wp-content/themes/wpthemegen/style.css

    hope this helps a bit
    (am currently working in a night shift, trying to solve this on my lunch break so everythin is a bit hazy at the moment)

    Thread Starter nessler

    (@nessler)

    thanks, will look into it asap.

    you know what’s weird ?
    Im at work, using IE7 at the moment.

    The news.php page is showing everything in white, but the archives are correctly displayed colour wise !

    Thread Starter nessler

    (@nessler)

    well I cleaned up the index.php, since there was a lot of junk in it I didn’t use, used a theme generator do make it since I’m no expert at all.

    this is the header file, the index.php is found with this link since I don’t want to post too much code here.
    index: https://www.fortherestless.com/forms/newz/wp-content/themes/wpthemegen/index.php

    header:
    not much to look at honestly …

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" <?php
    if(function_exists('language_attributes')) {
    	language_attributes();
    }else{
    	echo "<h1>Oops:</h1><font color=\"red\">This theme only works with WordPress 2.1.* or higher. You seem to have an <b>outdated version</b> of wordpress. Please download the latest <a href=\"https://www.wordpress.com\">WordPress</a> to use this theme and also get the latest security patches.</font>";
    //	exit();
    }
    ?>>
    <head profile="https://gmpg.org/xfn/11">
    <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" type="text/css" href="<?php bloginfo('stylesheet_directory') ?>/reset-fonts-grids-tabs.css" />
    <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>
    <body>
    <div id="doc" class="yui-t7">

    If you could point me in the right direction with the conditional comments thing I’d be grateful (will do a search in the meantime).

    Thread Starter nessler

    (@nessler)

    well, I HAD it figured out but now it’s all the same except for one difference.

    the header switching is now in IE instead of firefox.

    I use a screen.css for all my pages, and there was a discrepancy with the style.css

    (I had a h5 in the screen.css, so the title of each post was h5 too, and it got tangled up)

    I changed the h5, h5 span to both h9, h9 span in the screen.css and style.css but now the problem is in IE instead of firefox.

    sigh

    getting tired of this honestly…

    I use IE9 to check and FF4 is what the site is designed for.

    Thread Starter nessler

    (@nessler)

    yet another bump

    Thread Starter nessler

    (@nessler)

    bump
    uploaded the files in this rar file
    https://www.fortherestless.com/word.rar

    Thread Starter nessler

    (@nessler)

    archive looks like this

    [Code moderated as per the Forum Rules. Please use the pastebin]

    As I said, I call the diary using the wp-blogheader.php
    The diary page shows like it should, but don’t quite get howcome
    the archive doesn’t show exactly the same…

    hope this is enough for you ?

    Thread Starter nessler

    (@nessler)

    bump

    Thread Starter nessler

    (@nessler)

    so simple that one couldn’t see it…

    THANK YOU !

    It works like a charm now, never thought I’d get through this since I only started using wordpress not even a week ago.

    Cheers !

    Thread Starter nessler

    (@nessler)

    ok, so where does this bit go exactly,

    in the index.php of the template ?
    page.php ?
    header.php ?

    or in the query.php ?
    does it need this ?

    [please use the ‘code’ button to mark any code that you post here]

    <?php
    
    // The Query
    query_posts( $args );
    
    // The Loop
    while ( have_posts() ) : the_post();
    	echo '
    <li>';
    	the_title();
    	echo '</li>
    ';
    endwhile;
    
    // Reset Query
    wp_reset_query();
    
    ?>

    If I need to post some files here I’d be happy to…
    I have tried putting these codes almost everywhere, including the news.php which reads the blogposts.

    Thanks for your patience.

Viewing 15 replies - 46 through 60 (of 65 total)