• Resolved L1mike

    (@l1mike)


    Hi, we’re running a fairly basic site on version 1.12 of The J A Mortram. We love the look and feel of the theme, and generally it’s working really well. However, we have one major problem we cannot solve:

    We amended the page template to include our logo at the top, centred, of each page. We have also set a static front page, as we do not intend to use a blog. However, the static front page displays the logo off-centre, and causes layout problems on the rest of the page. Whichever page is set as the static homepage displays the same problem.

    Our site can be found at http://www.katywilde.com

    Is there a solution? We’re pretty much beginners at this and are pleased with our progress so far but we can’t seem to solve this issue!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author bigflannel

    (@bigflannel)

    Hi L1mike

    Unfortunately, there is not a simple solution. The template was designed to have the site title in text, not as an image.

    All images on the home page have the following css applied:

    .home img, .search img, .archive img {
    float: left;
    max-width: 50%;
    margin: 0 1em 1em 0;
    }

    This is being applied to your logo.

    You would have to give the div you have put the logo in an id (id=”header-logo”) then add some additional css like:

    #header-logo .home img, #header-logo .search img, #header-logo .archive img {
    float: none;
    max-width: 100%;
    margin: 0 0 0 0;
    text-align: center;
    }

    You could do this in the template css file (after the original css) but you will then need to be careful updating the template as it will be overwritten if you update. You could create a child theme and add it there (http://codex.wordpress.org/Child_Themes), this would be better practice.

    I’m not 100% sure the above will work. If you try it out, let me know how you get on and I can advise you further.

    Regards
    Mike

    Thread Starter L1mike

    (@l1mike)

    Thanks for the reply Mike – we’ll have a play with this and let you know how it goes.

    Thanks
    Mike

    Theme Author bigflannel

    (@bigflannel)

    Hi L1mike

    The current version of the template (updated a month or so back) includes functionality for you to add a logo to the template from the WordPress admin site.

    Regards
    Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Static front page layout problems’ is closed to new replies.