Banner is not on center

Go down

Solved Banner is not on center

Post by Vildana on February 22nd 2014, 8:44 pm

How to make banner on center, i try Homepage - Headers & Navigation - Logo positioning : Center

I know it is in css but where? This theme what i use is totally custom  http://akvaristika.bosnianforum.com/



Code:
body {
 color: #c8c8c8;
        font-size: 12px;
        padding: 10px;
        font-family: 'Verdana', 'Sans Serif', 'Trebuchet MS', 'Arial', 'Helvetica', 'Times';
 }
.pun {
 width: 900px;
 padding: 10px;
 background: url(http://i28.servimg.com/u/f28/16/08/05/20/wm-pun10.png);
        border: 1px solid #1E1E1D;
        -webkit-box-shadow: black 0px 0px 1px;
        -moz-box-shadow: black 0px 0px 1px;
        -o-box-shadow: black 0px 0px 1px;
        box-shadow: black 0px 0px 1px;
        border-radius: 5px;
       -webkit- border-radius: 5px;
        -moz-border-radius: 5px;
        -o-border-radius: 5px;
        }
hr {
 height: 1px;
 margin: 4px;
        border: 1px solid #333;
 border-top: 1px solid #333;
 border-bottom: 1px solid #111;
 }
a:link, a:visited {
 outline: none;
 text-decoration: none;
 }
a:hover {
 text-decoration: none;
 }
#pun-intro {
 border-bottom: none;
 background: transparent;
        }
.crumbs, #pun-visit, #pun-about #qjump, ul#pun-legend, ul.pun-legend {
 display: none;
 }
.pun .main-content, #pun-about, #pun-head #pun-navlinks, .main .main-foot, .main .main-head, .main-box, .pun .paged-foot, .pun .paged-head, .pun .postmain, .main .main-content.frm, .pun .frm-form, td.avatar-mini img, .faq dd, .postfoot, .pun .post .user {
 background: url(http://i28.servimg.com/u/f28/16/08/05/20/wm-pun10.png);
        border: 1px solid #1E1E1D;
        -webkit-box-shadow: black 0px 0px 1px;
        -moz-box-shadow: black 0px 0px 1px;
        -o-box-shadow: black 0px 0px 1px;
        box-shadow: black 0px 0px 1px;
        border-radius: 0px;
       -webkit- border-radius: 0px;
        -moz-border-radius: 0px;
        -o-border-radius: 0px;
        margin-top: 4px;
        padding: 6px;
 }
.pun table.table td{
        border: 1px solid #1E1E1D;
        -webkit-box-shadow: black 0px 0px 1px;
        -moz-box-shadow: black 0px 0px 1px;
        -o-box-shadow: black 0px 0px 1px;
        box-shadow: black 0px 0px 1px;
        border-radius: 0px;
       -webkit- border-radius: 0px;
        -moz-border-radius: 0px;
        -o-border-radius: 0px;
        }
.pun .frm .frm-form table  {
 background: transparent;
        border: none;
 }
.main .main-head .page-title {
 font-size: 18px;
 color: #F2EADA;
 }
.main .main-foot, .main .main-head {
        padding: 10px;
 }
#stats, #onlinelist, .pun table.table th, .pun table.table td, .pun .main table td.tc2, .pun .main table td.tc3, .pun .main table.table td.td-title  {
 background: transparent;
        }
#onlinelist, .frm-buttons {
        border-top: none;
        }
.pun .posthead {
        border: none;
        border-bottom: 1px solid #1E1E1D;
 background: transparent;
        }
fieldset.frm-set.multi {
        border-bottom: none;
        }
.pun .postmain {
        border-left: 1px solid #1E1E1D;
        }
.pun .post {
        border: none;
        }
.pun table.table th {
        color: #c8c8c8;
        }
.pun table .tdtopics .status {
        margin-left: -50px;
        }
.pun .post .user {
        margin-left: -210px;
        margin-top: -35px;
        }
.postfoot {
        margin-left: 0px;
        padding: 10px;
        }
input[type="submit"],input[type="reset"], button.button2, input.button2,  input[type="button"], .main-content.standalone .button {
        background: white url(http://i71.servimg.com/u/f71/16/21/18/28/1zf4sh10.png) repeat 0px 0px;
        color: #000;
        border:1px solid #ccc;
        text-shadow:0px 1px 0px white;
        border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;
        padding:4px;
        }

input[type="submit"]:hover,input[type="reset"]:hover, input[type="button"]:hover, button.button2:hover, input.button2:hover, .main-content.standalone .button:hover{
        color: #F5117B;
       border:1px solid #ccc;
        }
input[type="submit"]:active,input[type="reset"]:active, button.button2:active, input.button2:active, input[type="button"]:active, .main-content.standalone .button:active{
        border:1px inset #ccc;
        }
input[name="post"], input[name="preview"], input[name="draft"]{
        padding:5px !important;
        }
input[type="text"], #text_editor_textarea.quick_reply_textarea, input[type="password"], input[type="textarea"], textarea.inputbox, #text_editor_textarea, textarea#comments {
        background: #F7F7F7;
        -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
        padding : 5px;
        border: 1px dashed #ccc;
        }
input[type="text"]:focus, #text_editor_textarea.quick_reply_textarea:focus, input[type="password"]:focus, input[type="textarea"]:focus, .inputbox:focus, #text_editor_textarea:focus, textarea#comments:focus {
        outline:none;
         }
input#friend, input#foe {
 margin-top:5px;
 }
.main-content.standalone .button.button1 {
 font-weight: normal;
 }
input.button1 {
 margin-left:3px;
 }
#text_editor_cmd_switchmode{
 display:none;
 }
fieldset.left {
 width: 35%;
 float: left;
 }
fieldset.right {
 width: 45%;
 float: right;
 }
.frm-form fieldset.frm-set .inputbox {
 width: 55%;
        padding: 3px;
 }
.frm-form fieldset.frm-set textarea.inputbox {
 width: 55%;
 }
.frm-form fieldset.frm-set .italic, #pun-qpost .main-head.clearfix p.h2{
 display:none;
 }
.frm-form fieldset.frm-set input[type="radio"] {
 margin: 0 0.5em 0 0;
 }
#textarea_content label {
       display:none;
 }
#text_editor_textarea.quick_reply_textarea {
        width : 590px !important;
        margin-left: -3px;
        font-family: Arial,Helvetica,sans-serif;
        font-size: 17px;
        }
#quick_reply #textarea_content textarea {
        border : none;
        background : transparent;
        resize:none;
        }
#quick_reply  #textarea_content .dd-textarea {
        margin-top: 5px;
        margin-left: 116px;
        background : transparent url(http://i20.servimg.com/u/f20/15/20/70/09/quick-10.png) no-repeat;
        width : 612px;
        height : 160px;
        }
#pun-foot .center {
        background: url(http://i20.servimg.com/u/f20/15/20/70/09/copyri10.png) no-repeat right;
        }

#recent-topic-block {
       display:none;
 }
.multi-forums td{
       border: none;
        padding: 10px;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
-o-box-shadow: none !important;
box-shadow: none !important;
text-align:center;
 }

#tabs ul li.activetab a {
 background: url(http://i28.servimg.com/u/f28/16/08/05/20/wm-pun10.png);
        border: 1px solid #1E1E1D;
        -webkit-box-shadow: black 0px 0px 1px;
        -moz-box-shadow: black 0px 0px 1px;
        -o-box-shadow: black 0px 0px 1px;
        box-shadow: black 0px 0px 1px;
 }
#tabs ul li.activetab a:hover {
 background: transparent;
 }
#tabs ul li a {
 background: url(http://i28.servimg.com/u/f28/16/08/05/20/wm-pun10.png);
        border: 1px solid #1E1E1D;
        -webkit-box-shadow: black 0px 0px 1px;
        -moz-box-shadow: black 0px 0px 1px;
        -o-box-shadow: black 0px 0px 1px;
        box-shadow: black 0px 0px 1px;
 }
#tabs ul li a:hover {
 background: transparent;
 }

.postmain blockquote, .codebox {
background: transparent;
-moz-box-shadow: black 0 0 1px;
-o-box-shadow: black 0 0 1px;
-webkit-box-shadow: black 0 0 1px;
border: 1px solid #1E1E1D;
box-shadow: black 0 0 1px;
}
.codebox dd {
background: transparent;
}
.codebox dt {
border-bottom: 1px dotted #333;
}
avatar
Vildana
New Member

Female Posts : 15
Reputation : 1
Language : Bosnian English
Location : Bosnia and Herzegovina

http://akvaristika.bosnianforum.com/

Back to top Go down

Solved Re: Banner is not on center

Post by Luffy on February 22nd 2014, 8:53 pm

Search for
Code:
#pun-logo
and if you find it check the margin and position.
If there is nothing in the css with that command, then try adding it with the below code:
Code:
#pun-logo {margin: -10px;}


If it doesn't work try it with the important command:
Code:
#pun-logo {margin: -10px !important;}



avatar
Luffy
Manager
Manager

Male Posts : 5348
Reputation : 575
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Banner is not on center

Post by Vildana on February 22nd 2014, 9:01 pm

Thanks you help me with this



Code:
#pun-logo {margin: -10px;}
avatar
Vildana
New Member

Female Posts : 15
Reputation : 1
Language : Bosnian English
Location : Bosnia and Herzegovina

http://akvaristika.bosnianforum.com/

Back to top Go down

Solved Re: Banner is not on center

Post by SLGray on February 23rd 2014, 1:01 am

Problem solved & topic archived.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43077
Reputation : 3048
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum