• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

PopWP

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

Show logo before Site Title in Genesis Sample

Last Updated on May 6, 2018 Favorited: 0 times

There are different ways to add content before Title area which can be used to add different contents includes images/logo/icon.

Here is the simplest way to add a SVG logo. Add this to your CSS file.

.title-area {
    width: 150px;
    padding-left: 10px;
}

.title-area:before {
    background: url(/logo.svg) no-repeat !important;
    width: 50px;
    display: inline-flex;
    float: left;
    min-height: 50px;
    margin-top: -15px;
    margin-bottom: -15px;
    margin-left: -20px;
    content: " ";
}

How about showing description and site title both in Genesis with the SVG logo?

Not have SVG logo?

Here is the CSS for .png file

.title-area {
    width: 250px;
    padding-left: 10px;
}
.title-area:before {
    background-image: url(/logo.png);  no-repeat !important;
    width: 50px;
    background-size: contain;
    display: inline-flex;
    float: left;
    height: 50px;
    margin-top: -15px;
    margin-bottom: -15px;
    margin-left: -20px;
    content: " ";
}

Enjoy!

Related Posts

  • Featured Post Widgets in Columns
  • Change Logo On Scroll in Genesis Sample
  • Site Inner with container background in Genesis Sample
  • Hide and show title area or logo on hover in Genesis Sample
  • Reposition Primary navigation to left, secondary to right and logo in center in Genesis Sample

Categories: Free Content, Genesis Tutorials Tags: CSS, Logo

Reader Interactions

Primary Sidebar

Search

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog canvas menu center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect eNews Extended Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout left menu Logo menu Navigation Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress by Aryan Raj

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service