[Support request] add css style to template tag

Home Forums Support [Support request] add css style to template tag

Home Forums Support add css style to template tag

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1380502
    Ben

    Hi,
    I would like to add css styling to the post title and post date template tags. I have added the following to post-header:

    <h1>
    	{{post_title}}
    </h1>
    
    <div class="title">
    	<span class="post-title">{{post_author}}</span>
    	<span class="post-date">{{post_date}}</span>
     </div>

    And the following to simpleCSS:

    .post-title {
     	font-size: 18px;
    }
    
    .post-date {
       	font-size: 9px;
    }

    However, the styling doesn’t appear to have any effect in the browser. Could you help please?

    #1380553
    Leo
    Staff
    Customer Support

    Hi there,

    Is there a specific page I should be looking at?

    The page you’ve linked isn’t using the header element HTML you are referring to:
    https://www.screencast.com/t/ofQFelXoE0

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.