• Custom Stylesheet is named style2.css. The primary formatting includes:`
    body {
    background: #FFFFFF url(“images/top.gif”) repeat-x;
    color: #323232;
    text-align:center;
    font:12px Courier;
    }`

    #content h1 {
    	color: black;
    	font-size: 20px;
    	font-weight: bold;
    	text-transform: uppercase;
    	font-family: Courier;
    	}
    #content h2 {
    	color: black;
    	font-family: Courier;
            font-size: 16px;
    	font-weight:bold;
    	text-decoration: underline;
    	}
    
    #content h3 {
    	color: #black;
    	font-size: 12px;
    	font-family: Courier;
    	font-weight: normal;
    	}

    Newsletter link is here: https://atxre.com/newsletter-1/

    A portion of existing Header php code:

    <style type="text/css" media="screen">
    <!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); -->

    Header php has been revised as follows after the above:
    <?php if ( is_page('newsletter-1') ) :?><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>"/style2.css type="text/css" media="all" /><?php else :?><link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
    More existing header php

    <?php endif;?>
    </style>
    </head>

    I can’t get the newsletter-1 page to call the custom css stylesheet – style2.css

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Stylesheet for Newsletter’ is closed to new replies.