Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: tonakis2108 on February 02, 2015, 09:26:13 AM

Title: SMF Core Borders
Post by: tonakis2108 on February 02, 2015, 09:26:13 AM
Hello SMF community, since I couldn't find anything to help me get rid of the border around my sections I am here to ask for your assistance.

This is what I want to get rid of. (White selected line)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi58.tinypic.com%2F2vkm5ue.png&hash=1544a88c204d2dfcfee10fc6871d394f0fe05c9c)

I changed some stuff in the index.css but got no results...
I am using SMF 2.0.9
Title: Re: SMF Core Borders
Post by: Sir Osis of Liver on February 02, 2015, 10:31:01 PM
You can change it here -

/Themes/core/css/index.css



.tborder
{
padding: 1px;
border: 1px solid #696969;
background-color: #fff;
}



But it will affect other borders.

It's called here -

/Themes/core/index.template.php



<div id="mainframe"', !empty($settings['forum_width']) ? ' style="width: ' . $settings['forum_width'] . '"' : '', '>
<div class="tborder">
<div class="catbg">
<img class="floatright" id="smflogo" src="', $settings['images_url'], '/smflogo.gif" alt="Simple Machines Forum" />
<h1 id="forum_name">';



You can remove class="tborder", or create a new one in index.css that does what you want.
Title: Re: SMF Core Borders
Post by: tonakis2108 on February 04, 2015, 09:23:46 PM
You sir deserve a medal!
Thanks hero! :3