• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Unable to centralize logo and tagline for all media

Unable to centralize logo and tagline for all media

  • Unknown's avatar
    bourbonpaddy · Member · Jan 17, 2018 at 3:54 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I am trying to get my logo and tagline centralized on the photo blog theme. Currently they’re both only centralized on mobile view but I’d like it consistent across media. I’d also like to have my tagline in italics if possible, and my menu options to appear beneath the tagline and left justified instead of right justified. What CSS do I need to make this happen?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    thesacredpath · Member · Jan 17, 2018 at 6:55 pm
    • Copy link Copy link

    Hi there, this was a bit of a challenge, but the following will center the logo and tagline for you.

    @media screen and (min-width: 768px) {
      .site-title-description {
        width: 100%;
        display: block;
      }
      .site-branding .site-logo .custom-logo-link {
        margin-left: auto;
        margin-right: auto;
        float: none;
      }
      .site-branding {
        width: 100%;
      }
      .site-description {
        text-align: center;
        display: block;
      }
    }
  • Unknown's avatar
    bourbonpaddy · Member · Jan 18, 2018 at 5:41 pm
    • Copy link Copy link

    Perfect, thanks! I’m also having issues with my images in my post appearing off centre. Is there anything that can be done for this or will I start a seperate thread? Thanks again.

  • Unknown's avatar
    thesacredpath · Member · Jan 18, 2018 at 9:21 pm
    • Copy link Copy link

    With the way the images with an alignment of none are done onPhoto Blog, when you added the padding and white background color to entry-content it offset the image from center. Add this to your max-width: 768px media query, which re-centers the image by increasing the negative left margin.

    .entry-content img.alignnone {
        margin-left: -122px
    }
  • Unknown's avatar
    bourbonpaddy · Member · Jan 19, 2018 at 11:58 am
    • Copy link Copy link

    Thanks again this worked perfectly!

  • Unknown's avatar
    thesacredpath · Member · Jan 19, 2018 at 5:21 pm
    • Copy link Copy link

    You are welcome.

  • The topic ‘Unable to centralize logo and tagline for all media’ is closed to new replies.

Tags

  • centralized
  • italics
  • logo
  • tagline

About this topic

  • In: Themes
  • 2 participants
  • 5 replies
  • Last activity 8 years
  • Latest reply from bourbonpaddy

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions