adsense

How to Add a Highlight Box to a Wordpress Post





1. Log in to your WordPress blog.
2. Go to 'Appearance' and click on 'Editor.'

3. Select 'Stylesheet' from the list of templates on the right.
4. Add the following to the CSS code:.highlight{background-color:#f8fb00;padding: 5px 5px 5px 5px;width: 300px;}The box above is for a yellow box with a 300 pixel width. Change the attributes to fit the style you wish for your highlight box.
5. Click on 'Update File.'
6. Create a new post in WordPress and click on the HTML tab.
7. Enter the following HTML tags to apply the highlight box on your text:
Your text here!

8. Save your post and click on 'View Post' to see the highlight box on your page.

Comments

0 Responses to "How to Add a Highlight Box to a Wordpress Post"

Post a Comment

Popular Posts

About