r/naut•
ituhata

How can I shift my site logo to the right?

I have a logo I made and the background image is actually from the logo so I want to move the logo right so it lines up with the background image seamlessly. How would I accomplish that? I tried what I thought would be obvious by adding a right command (I am not a programmer)

/* CUSTOM LOGO CSS */
		.pagename a {
			top: 20px; /* The length the logo is moved from the top of the page */
                        right: 400px; /*The length the logo is moved from the left of the page */
			width: 398px; /* TOTAL Image width */
			height: 34px; /* 50% of the TOTAL height of the image. */    

EDIT: Nevermind I figured it out. For anyone who is curious how this is done you need to edit the code here:

#header-img:hover {background-position: -44px -226px;}
			
			.pagename a {
				display: block;
				visibility: visible !important;
				position: absolute;
				left: 200px;
				z-index: 99;
				background-image: url(%%logo%%);
				background-position: 0px 0px;
				background-repeat: no-repeat;
				text-indent: -9999px;
			}

Posted Dec 10, 2014, 9:12 PM UTC · edited

10

No comments yet

Nobody commented on this post, or the comments weren't captured.