Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Fixing WordPress
    In reply to: Dynamic Stylesheet
    Thread Starter buckza

    (@buckza)

    I found my mistake after browsing the PHP sites
    thanks again – all working now

    Forum: Fixing WordPress
    In reply to: Dynamic Stylesheet
    Thread Starter buckza

    (@buckza)

    thanks
    I did change that but not it looks like the stylesheet is not parsing correct

    This is what I have in style.php

    <?php header(‘Content-type: text/css’); ?>

    /* Setup the Variables */
    $pagewidth = ‘980px’ /* Width of the Page */
    $gutter = ‘5px’ /* Gutter Sise */
    $leftwidth = ‘200px’ /* Left Width */
    $rightwidth = ‘170px’ /* Right Width */

    $fontsizeglobal = ’12px’ /* Global Font Size */
    $fontsizeh1 = ’24px’ /* H1 Font Size */
    $fontsizeh2 = ’16px’ /* H2 Font Size */
    $fontsizeu1 = ’13px’ /* U1 Font Size */

    $fontcolor1 = ‘#666’ /* #666 Grey */
    $fontcolor2 = ‘#000’ /* #000 Black */
    $fontcolor3 = ‘white’ /* #FFF white */

    body {
    font-family:’Verdana’;
    font-size:<? $fontsizeglobal ?>;
    }

    and this is the output I get when I run it in a browser
    /* Setup the Variables */
    $pagewidth = ‘980px’ /* Width of the Page */
    $gutter = ‘5px’ /* Gutter Sise */
    $leftwidth = ‘200px’ /* Left Width */
    $rightwidth = ‘170px’ /* Right Width */

    $fontsizeglobal = ’12px’ /* Global Font Size */
    $fontsizeh1 = ’14px’ /* H1 Font Size */
    $fontsizeh2 = ’16px’ /* H2 Font Size */
    $fontsizeu1 = ’13px’ /* U1 Font Size */

    $fontcolor1 = ‘#666’ /* #666 Grey */
    $fontcolor2 = ‘#000’ /* #000 Black */
    $fontcolor3 = ‘white’ /* #FFF white */

    body {
    font-family:’Verdana’;
    font-size:;
    }

    the fontsize is blank where the code to generate that is
    font-size:<? $fontsizeglobal ?>;

    what am I missing?

    Forum: Fixing WordPress
    In reply to: Dynamic Stylesheet
    Thread Starter buckza

    (@buckza)

    Thanks for the quick replay back

    I did add <?php header(“Content-type: text/css”); ?>
    in the top of my style.php

    This is what I have in my header.php
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />

    How can I change that
    My style.php is in /themes/limau-orange-01/style.php

Viewing 3 replies - 1 through 3 (of 3 total)