H1 and placement of background image...

User 116419 Photo


Registered User
7 posts

Hi,
Using default scheme "The Scholar" I am trying to change the tremplate to suit myself.

In the CSS file the line

h1 {padding: 15px 0 60px 86px; font-size:42px; color:#000; background:url(../images/example_logo.png) left 0px no-repeat}

places the logo image to the left of the Heading. I am trying to place this logo image to the right of the Heading as well as to the left[ . As a novice I can't get my head round it. Could any body help please?

J G Moran
User 463868 Photo


Registered User
89 posts

Could try this...

h1 {padding: 15px 0 60px 86px; font-size:42px; color:#000; background:url(../images/example_logo.png) left 0px no-repeat right 0px no-repeat}

hogansbassets.com
eagleeye360.com
freight360.us
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

J G Moran,

I don't know that particular theme,. but if you are using a fixed width for the site, create an image in the width needed, with a transparent background and the logo positioned left and right. Place it as the background image of the header. Then fiddle around with margins/paddings until you get it right.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.