MyBB Community Forums

Full Version: Logo Help w/ my theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

As you can see, my logo seems very out of place lol. I want it in the middle of the top blue header. Any help would be greatly appreciated.

[Image: 2016-03-28_2055.png]
in the global.css of the theme around line 120 find code like below (edit it in advanced mode)
#mainwidth {
    line-height: 1.4;
    margin: 60px auto auto;

change margin: 60px auto auto; as /* margin: 60px auto auto; */ and save
visit forum home page and hard refresh your browser (eg. press CTRL + F5)
Please search for the the classes mainwidth and mbox and use these modifications in your global.css
#mainwidth {
    line-height: 1.4;
    text-align: center;
    width: 90%;
}
#mbox {
    background: #f8f6f6 none repeat scroll 0 0;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    box-shadow: 0 2px 5px -1px #adaeaf;
    color: #333;
    line-height: 1.4;
    margin-top: 15px !important;
    text-align: left;
}

Also go to your header template and modify
<div style="margin-top: -50px;" class="topmenubar" original-title="">
to
<div style="margin-top: -60px;" class="topmenubar" original-title="">

This should fix it.
(2016-03-29, 03:21 AM)WallBB Wrote: [ -> ]Please search for the the classes mainwidth and mbox and use these modifications in your global.css
#mainwidth {
    line-height: 1.4;
    text-align: center;
    width: 90%;
}
#mbox {
    background: #f8f6f6 none repeat scroll 0 0;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    box-shadow: 0 2px 5px -1px #adaeaf;
    color: #333;
    line-height: 1.4;
    margin-top: 15px !important;
    text-align: left;
}

Also go to your header template and modify
<div style="margin-top: -50px;" class="topmenubar" original-title="">
to
<div style="margin-top: -60px;" class="topmenubar" original-title="">

This should fix it.
I did all of this and nothing changed...

(2016-03-29, 02:14 AM).m. Wrote: [ -> ]in the global.css of the theme around line 120 find code like below (edit it in advanced mode)
#mainwidth {
    line-height: 1.4;
    margin: 60px auto auto;

change  margin: 60px auto auto; as /*  margin: 60px auto auto; */ and save
visit forum home page and hard refresh your browser (eg. press CTRL + F5)

This did not work either  Sad
^ suggested code is not changed. also browser needs to be hard refreshed after saving changes in the style sheet .
(2016-03-29, 06:29 PM).m. Wrote: [ -> ]^ suggested code is not changed. also browser needs to be hard refreshed after saving changes in the style sheet .

Just tried to change it again. Check again please and I just did a hard refresh, still the same.
You are using Cloudfare, please disable it or purge cache.
It will work fine.
(2016-03-29, 06:43 PM)WallBB Wrote: [ -> ]You are using Cloudfare, please disable it or purge cache.
It will work fine.
That worked! Thank you.  Heart