Editing the Swift theme style.css to add a logo in the header

I’m having a bit of trouble adding a logo to my Swift themed WordPress site. I have found the header code in the master style.css but was wondering how I’d go about adding the logo. Listed below is the code for the header section of the style.css. Under that is the code I replace the site title with and tried but the logo did not display. If anyone could help that would be great!

Thanks

Header Code

/* =Header
————————————————————–*/

site-title {

padding: 0;
font-weight: 700;
font-size: 3em;
line-height: 1em;
margin: 0;

}

site-title a {

text-decoration: none;
color: #005fa1

}

site-description {

color: #999;
padding: 0;
font-weight: 300;
line-height: 1em;
font-size: 1em;
margin: .3em 0 0 0

}

logo-wrapper {

display: inline;
margin: 0

}

branding {

padding: 20px 0;
position: relative

}

social-media {

float: right;
font-size: 40px;

}

social-media span {

display: inline;
margin-right: 20px

}

social-media span:last-child {

margin-right: 0

}

social-media span a {

font-family: FontAwesome

}

nav-ad-container {

padding: 5px 0;
background: #F6F6F6;
z-index: 4;
position: relative

}

.is-sticky {
width: auto
}

/.sticky-wrapper.is-sticky{overflow:hidden}
/ for sticky*/

above-logo-container {

z-index: 12;
position: relative

}

below-logo-container {

z-index: 5;
position: relative

}

breadcrumbs {

margin-bottom: 10px

}

breadcrumbs:before {

content: “f015”;
font-family: FontAwesome;
font-size: 1.2em

}

breadcrumbs a {

text-decoration: underline

}

My Tested Code

site-title a{

display: block;
float: left;
height: 150px;
overflow: hidden;
padding: 0;
text-indent: -9999px;
width: 350px;

}

site-image #description {

display: block;
overflow: hidden;

}

site-image #title a {

background: url(‘http://bcmoorerankings.com/wp-content/uploads/2018/09/BCMoore-Rankings-Logo-Header.png’) no-repeat;

}

Read more here:: Editing the Swift theme style.css to add a logo in the header

Leave a Reply

Your email address will not be published. Required fields are marked *