What is the CSS code to place a logo to the left in masthead?
-
I am attempting to add the logo to the top left of the header of my website but it is not showing. Here is my code
#mastheader {
float: left;
background: url(‘https://djrome443.files.wordpress.com/2015/01/bmg4.png’);
width: 560px;
margin-top: 0;
}The blog I need help with is: (visible only to logged in users)
-
Hi there,
On your site there appear to be no elements with an ID of “mastheader” so your CSS selector is not affecting any element of your site.
The simplest way to add your logo as you wish would be to pick a Theme that allows for a Site Logo:
https://theme.wordpress.com/themes/features/site-logo/
This would require no CSS, only uploading the image file.
If you wish to keep the theme Nuntius and continue adding the logo using CSS, you can ask for CSS help the Customization Forum:
https://en.forums.wordpress.com/forum/css-customization
-Alex G.
- The topic ‘What is the CSS code to place a logo to the left in masthead?’ is closed to new replies.