Jump to content

Having problems adding a div to the main page


Recommended Posts

Hello, I readed a bit about how to add a div in the main page and all I read is that I have to add the div in the header.tpl. So what I do is this.

 

1. I go to the folder of the theme; /themes/default-bootstrap

2. Open and edit the header.tpl with the next code:

</head>

<div id="banner-derecha">
<img src="http://mygdonia.es/media/wysiwyg/transportes-gratuitos-descuento-cosmetica-ecologica-mygdonia-manresa-barcelona.jpg">
</div>

<body{if isset

3. Open the global.css file and edit:

#banner-derecha {
  position: fixed;
  right: 0;
  top: 30%;
}

And nothing happend. Could someone help me with this?

 

Thank you very much.

The website is: http://2depiques.es

 

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...