Site wide Name

Permalink
Hi, I am using theme Neat and am trying to use a .png file as the Site Wide name and centre it within the header block.
The problem I am having is that Neat seems to be stretching the .png file and not centering it. Any help would be appreciated.

<!DOCTYPE html>
<html class="ccm-toolbar-visible ccm-panel-ready" lang="en">
<head>
<title></title>
<style>
* {
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}
img {
   border: 0;
}
img {
   vertical-align: middle;

1 Attachment

 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
In your code you are wrapping the image inside <p> </p> tags and the inline css is declaring that this is "text-align: right"
Try "text-align: center"
swinn replied on at Permalink Reply
Thanks for that, I have tried this but it has not moved the image to the centre of the page.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
What is the site address?
swinn replied on at Permalink Reply
http://www.e1e996ce5616a10aa9e872f28-13636.sites.k-hosting.co.uk/index.php

It is still under construction. I have tried again by putting the code in a customized css file and this has improved it a little but given a few more problems as well as not looking right on mobiles.... Head scratching is beginning to wear my hair out... Thanks for looking at it for me.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Well, looking at this in the browser console I don't see the reason why your image is not aligned to the center.
I have tried manipulating the html and css in the browser console to no avail.
Perhaps one of the other C5 members can spot it?
Gondwana replied on at Permalink Reply
Gondwana
I reckon it could be .navbar-header's float left, in bootstrap.min.css.
swinn replied on at Permalink Reply
Thanks for looking... I thought it was perhaps just me going crazy.
swinn replied on at Permalink Reply
Thanks for that but everything in bootstrap.min.css is starred out so unless there is another file of the same name I don't think that can be the issue.
Gondwana replied on at Permalink Reply
Gondwana
I can get the header image to move by over-riding that CSS at element level (eg, setting the .navbar-header div to float right), so I reckon that element is responsible.
swinn replied on at Permalink Reply
Thanks, but where do I find this to make an alteration?
Gondwana replied on at Permalink Reply
Gondwana
I used Firefox developer tools, although any brower's tools can probably be used to change CSS. I'd experiment with that before attempting changes to the underlying code (which would probably involve editing the theme).