vertical logo position setting?

Started by mark32, January 20, 2011, 07:20:08 PM

Previous topic - Next topic

mark32

Can anyone please point me in the right direction for centering my logo? I just want to center it in the white area.. Thanks for any help. SMF 1.1.12

Mark

mark32

I´ve looked in the index.template.php and can´t find any reference to positioning. i.e. top, center, bottom.. Iḿ pretty new to smf and php so any help would be much appreciated..

Mick.

Not sure if this will work but look in the .CSS file something like:

# logo {
blah
Blah
Blah
}

See if it has a "margin-top".  If not, try something like this:

margin-top: 5px;

Not sure if this will work. I'm on my cell phone ;)

mark32

No luck.. I´m pretty sure this is an easy fix. I just don´t know where to look exactly..

mark32

Iḿ using a theme named, Default_Modern. I can post any files needed. I really just want to get this resolved..

Thanks,

mark32

Quote from: mark32 on January 21, 2011, 08:34:21 PM
Iḿ using a theme named, Default_Modern. I can post any files needed. I really just want to get this resolved..

Thanks,

No one?

NHWD


mark32

Quote from: CL0WNER on January 22, 2011, 07:22:53 AM
can you attach your style.css file?

* This lets you change the width of the entire forum */
.forum-width
{
   width: 100%;
}
/* Normal, standard links. */
a:link, a:visited, a:active
{
   color: #365d81;
   text-decoration: underline;
}
a:hover
{
   color: #5c8dbb;
   text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited, .nav:active
{
   color: #000000;
   text-decoration: none;
}
a.nav:hover
{
   color: #365d81;
   text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
   empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
   color: #000000;
   font-size: 12px;
   font-family: Arial, Verdana, Helvetica, Sans-serif, serif;
}

/* The main body of the entire forum. */
body
{
   background-color: #ffffff;
   margin: 0px;
   padding: 12px 30px 4px 30px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
   color: #000000;
   font-family: verdana, sans-serif;
}
input, button
{
   font-size: 90%;
}

textarea
{
   font-size: 100%;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
   font-size: 90%;
   font-weight: normal;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
   color: #666666;
   background-color: #666666;
}

/* No image should have a border when linked */
a img{
border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
   color: #000000;
   background-color: #ffffff;
   border: 1px solid #95a0b9;
   margin: 1px;
   padding: 1px;
   font-size: 11px;
   line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
   color: #3d4a64;
   background-color: #ffffff;
   font-family: "courier new", "times new roman", monospace;
   font-size: 11px;
   line-height: 1.3em;
   /* Put a nice border around it. */
   border: 1px solid #95a0b9;
   margin: 1px auto 1px auto;
   padding: 1px;
   width: 99%;
   /* Don't wrap its contents, and show scrollbars. */
   white-space: nowrap;
   overflow: auto;
   /* Stop after about 24 lines, and just show a scrollbar. */
   max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
   color: #000000;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: x-small;
   line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
   width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
   background-color: yellow;
   font-weight: bold;
   color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
   color: #000000;
   background-color: #f2f7fc;
}
.windowbg2
{
   color: #000000;
   background-color: #fcfdff;
}
.windowbg3
{
   color: #000000;
   background-color: #E0E1E8;
}
/* the today container in calendar */
.calendar_today
{
   background-color: #FFFFFF;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   color: black;
   font-style: normal;
   background-color: #E9F0F6;
   background-image: url("images/titlebg_modern.jpg");
   border-bottom: solid 1px #9BAEBF;
   border-top: solid 1px #FFFFFF;
   background-repeat: repeat-x;
   padding-left: 10px;
   padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
   font-weight: bold;
   color: black;
   font-style: normal;
}

.titlebg a:hover
{
   color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
   color: black;
   font-style: normal;
   text-decoration: underline;
}

.titlebg2 a:hover
{
   text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
   background-color: #f3f4f6;
   background-image: url("images/catbg_modern.jpg");
   height: 27px;
   color: #365d81;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
   background-color: #f3f4f6;
   background-image: url(images/catbg_modern.jpg);
   height: 27px;
   color: #365d81;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
   border-top: 0px solid #afbbc7;
   border-right: 0px solid #afbbc7;
   border-left: 0px solid #afbbc7;
   border-bottom: solid 0px #2c6ec0;
   background-repeat: repeat-x;
}
.catbg, .catbg2
{
   font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
   font-size: 95%;
   color: #365d81;
   text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
   color: #365d81;
   text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
   color: #365d81;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
   background-color: #c8d5de;
   padding: 0px;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
   border: 1px solid #a1b2c4;
   background-color: #a1b2c4;
   padding: 0px;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
   font-size: x-small;
   font-family: verdana, sans-serif;
}
.middletext
{
   font-size: 90%;
}
.normaltext
{
   font-size: small;
}
.largetext
{
   font-size: large;
}


/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
   width: 100%;
   overflow: auto;
   line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
   width: 100%;
   overflow: auto;
   padding-bottom: 3px;
   line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error{
color: red;
}


/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
   background-position: left bottom;
   color: white;
   text-transform: uppercase;
   vertical-align: top;

}
.maintab_back, .maintab_active_back
{
   color: white;
   text-decoration: none;
   font-size:  9px;
   vertical-align: top;
   padding: 2px 6px 6px 6px;
   font-family: tahoma, sans-serif;
}

.maintab_first
{
   background-image: url(images/maintab_first.gif);
   background-repeat: no-repeat;
   width: 10px;
}
.maintab_back
{
   background-image: url(images/maintab_back.gif);
   background-repeat: repeat-x;
}
.maintab_last
{
   background-image: url(images/maintab_last.gif);
   background-repeat: no-repeat;
   width: 8px;
}
.maintab_active_first
{
   background-image: url(images/maintab_active_first.gif);
   background-repeat: no-repeat;
   width: 6px;
}
.maintab_active_back
{
   background-image: url(images/maintab_active_back.gif);
   background-repeat: repeat-x;
}
.maintab_active_last
{
   background-image: url(images/maintab_active_last.gif);
   background-repeat: no-repeat;
   width: 8px;
}

/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{
   color: #2c3f52;
   text-decoration: none;
}

.maintab_back a:hover, .maintab_active_back a:hover
{
   color: #000000;
   text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
   background-position: left top;
   color: white;
   text-transform: uppercase;
   vertical-align: top;

}
.mirrortab_back, .mirrortab_active_back
{
   color: #d9e4ef;
   text-decoration: none;
   font-size: 9px;
   vertical-align: bottom;
   padding: 6px 6px 2px 6px;
   font-family: tahoma, sans-serif;
}

.mirrortab_first
{
   background-image: url(images/mirrortab_first.gif);
   background-repeat: no-repeat;
   width: 10px;
}
.mirrortab_back
{
   background-image: url(images/mirrortab_back.gif);
   background-repeat: repeat-x;
}
.mirrortab_last
{
   background-image: url(images/mirrortab_last.gif);
   background-repeat: no-repeat;
   width: 6px;
}
.mirrortab_active_first
{
   background-image: url(images/mirrortab_active_first.gif);
   background-repeat: no-repeat;
   width: 6px;
}
.mirrortab_active_back
{
   background-image: url(images/mirrortab_active_back.gif);
   background-repeat: repeat-x;
}
.mirrortab_active_last
{
   background-image: url(images/mirrortab_active_last.gif);
   background-repeat: no-repeat;
   width: 8px;
}

/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
   color: #2c3f52;
   text-decoration: none;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
   color: #000000;
   text-decoration: none;
}


Advertisement: