Jump to content

Adding a css <div> to all pages


Recommended Posts

Im trying to add the following wich I want to be shown on all my pages:

 

<div class="center">
<p>Test of the text or content that I want to place on all pages</p>
</div>

 

Wich I place with this code:

 

<head>
<style type="text/css">
.center
{
margin:auto;
width:150px;
background-color:#b0e0e6;
}
</style>
</head>

 

Where should I put these both codesnippets to apply it on all my pages?

(Im running a theme if that changes things..)

 

Thanks alot for replies!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...