MyBB Community Forums

Full Version: Strange box around images and no Css for default theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Right, after upgrading from 1.2.1 to 1.2.9 the CSS for the default theme just vanished even though the images are still there. So, I changed the default theme and around the images in this other theme a random purple/blue box Confused Can someone tell me what I did wrong?

Look for yourself http://croftmanorforums.00bp.com/forum/online.php
you can try adding:
img{border:0px;}

Into the additional CSS.
Whereabouts in the add CSS?

I put in in with the top (Or second) option and still no luck Sad
"ACP -> Themes -> Modify / Delete -> *Your Theme* -> Edit Theme Style"

Additional CSS is the big box at the bottom of the page, put it in there.
Oh, I know where it is lol. Whereabouts in the box do I put it?
Wherever so long as it's in the additional CSS box. That should kill borders for all images.

According to your CSS at the minute, its in the "topmenu" which is wrong.
.topmenu{
img{border:0px;}
font-size: 11px;
text-align: center;
}

Is should be outside that, on it's own, like this:
img{border:0px;}

.topmenu{
font-size: 11px;
text-align: center;
}
Thank you Smile

Can you tell me how to fix the messed up links menu bar at the top?
<div class="menu" align="center">
<ul>
<table align="center">
<tr align="center">
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/member.php?action=login">Login</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/member.php?action=register">Register</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/misc.php?action=help">Help</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/memberlist.php">Member List</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/calendar.php">Calendar</a></td>

<td class="topmenu" width="1%"><a href="search.php?action=getnew">View New Posts</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/search.php">Search</a></td>
</tr>
</table>
</ul>
</div>

Try removing the <ul> tags so you have:
<div class="menu" align="center">
<table align="center">
<tr align="center">
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/member.php?action=login">Login</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/member.php?action=register">Register</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/misc.php?action=help">Help</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/memberlist.php">Member List</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/calendar.php">Calendar</a></td>

<td class="topmenu" width="1%"><a href="search.php?action=getnew">View New Posts</a></td>
<td class="topmenu" width="1%"><a href="http://croftmanorforums.00bp.com/forum/search.php">Search</a></td>
</tr>
</table>
</div>
Thanks Big Grin

Whereabouts do I go to change that?

Smile
It will either be in "header" or one of the "header_welcomeblock_*"s.

"ACP -> Templates -> Modify / Delete -> *Your Theme* -> Expand"
Pages: 1 2