• Resolved flashsoup

    (@flashsoup)


    Hi all,

    I’m modifying a theme over at jwhiting.com.

    I created a series of pages along the top (Bio, Writing, Performing, etc.).

    Right now, when I view the titles of those posts, they appear small and black (see example at jwhiting.com/Bio). I would like to have this h2 text mimic the h2 text at jwhiting.com (i.e. bigger and greenish).

    Any idea what’s going on?

    Thanks.

    JWhiting

Viewing 4 replies - 1 through 4 (of 4 total)
  • Green pages:

    Source:

    <h2><a href="https://jwhiting...</h2>

    CSS:

    .post h2 a {
    	font-family: Arial Rounded MT Bold, Arial;
    	color: #87811C;
    	font-size: 28px;
    	margin: 0px;
    	padding: 0px;
    	margin-bottom: 3px;
    }

    Look at the source of the black headers:

    <div class="post" id="post-165">
    		<h2><center>Bio</center></h2>

    It follows then that you need to do this:

    .post h2 {
    	font-family: Arial Rounded MT Bold, Arial;
    	color: #87811C;
    	font-size: 28px;
    	margin: 0px;
    	padding: 0px;
    	margin-bottom: 3px; }

    Notice all I did was remove the a that indicates its a link.

    Thread Starter flashsoup

    (@flashsoup)

    Amazing. Thanks so much. That fixed it (see jwhiting.com/Bio)

    I’m new to CSS and PHP and am learning in leaps and bounds thanks to people like you and places like this.

    Thanks again.

    Jason

    youre welcome .. If you really want to simplify things, and you use FF go get the web developer addon.

    https://chrispederick.com/work/web-developer/

    among all the many things you can do, the most useful is the ability to edit style sheets on the fly and see the changes real time in your browser. Most of us old timers on here use it or Firebug.. which is why we tend to always ask for links when someone asks style questions. ??

    Thread Starter flashsoup

    (@flashsoup)

    Yeah, I just added that Firefox add-on yesterday. It looks like there’s a lot to learn there as well, but it definitely looks really useful and powerful.

    Thanks again.

    Jason

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘h2 formatting not working on separate pages’ is closed to new replies.