• Resolved aleckloss

    (@aleckloss)


    Hello All, I am having Logo centering woes with my theme used on my wowrdpress site, does anyone see problems in my code? I tried changing a few float options and tried padding but I’m not sure what else to try…

    My site is UMDswap.com

    [moderator note: you don’t need to include the stylesheet – anyone can view it on the site using browser dev tools]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there. 🙂

    You can centre the link within your #logo <div> and thus centre the logo itself. To do this, you’ll need the following CSS snippet:

    .header_main_res #logo {
    text-align: center;
    }

    Please don’t add the above CSS directly to your theme’s files. Doing so will mean that your changes will be lost when updating your theme in the future.

    Instead, I’ve noticed that you have the JetPack plugin installed on your site. You can add the needed CSS directly to that plugin’s custom CSS editor.

    Hope this helps.

    As a side note, for any future issues with your theme, could you please contact the theme’s support team directly. They’ll be best informed for helping you with this theme:
    http://www.appthemes.com/support/

    These forums are primarily for helping people with the core WordPress.org software and for free plugins/themes hosted in the WordPress.org repository.

    Thread Starter aleckloss

    (@aleckloss)

    Thank you so much!

    You’re welcome. 🙂

    Thread Starter aleckloss

    (@aleckloss)

    Does this same Tag work with my Advertisement that I want to center under my Logo?

    I went ahead and added this under the last tag

    .header_main_res #logo {
    text-align: center;
    }

    .banner ad {
    text-align: center;
    }

    The CSS class for your ad isn’t .banner ad, it’s .adblock. You can find your theme’s CSS by using browser tools such as Firefox’s Firebug or Chrome’s Inspector.

    You’d also need to increase the width of the .adblock container so that is takes up the whole screen, thus allowing you to centre the image within it.

    The following snippet should work:

    .adblock {
    width: 100%;
    text-align: center;
    }

    Please note: These forums really aren’t for supporting Commercial themes, and, as I don’t know all the ins and outs of the theme you’re using, I can’t guarantee that any solution I provide is the best one.

    You’ve paid for this theme, so it makes sense for you to make use of their support service here:
    http://www.appthemes.com/support/

    I’m closing this topic. If you have any issues with the WordPress.org software or any Free and Open Source plugins/themes hosted here, please feel free to start a new topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Logo Centering Woes’ is closed to new replies.