Siderbar Css

  • kikkizen

    #93

    Hi Syahir,

    Im trying to make a sidebar table, but i got a problem that it always takes the css from

    #sidebar_right{

    margin-right:65px;

    width:245px;

    display:inline;

    float:right;

    and

    .sidebar div.sidebar-wrap{

    width:231px;

    padding:5px 12px;

    margin-top:0px;

    overflow:hidden;

    …so i created a new class:

    .SIDEBART

    {

    margin-right: 75px;

    overflow:visible;

    }

    added in the table code of the sidebar:

    <html>

    <head>

    <style type=”text/css” class=”SIDEBART”>

    table, td, th

    {

    border:1px solid green;

    }

    th

    {

    background-color:green;

    color:white;

    }

    </style>

    </head>

    <body>

    <table class=”SIDEBART”>

    <tr>

    <th><img class=”sidebart” src=”http://www.wowcast.de/wp-content/uploads/2010/09/Cataclysm-Bestellen1.jpg”

    class=”SIDEBART”</th>

    </tr>

    <tr>

    <td>xd</td>

    </tr>

    <tr>

    <td>xd</td>

    </tr>

    </table>

    </body>

    </html>

    but still, it takes the sidebar wrap CSS and somehow i seem not able to make it as i want to…

    would appreciate the help cuz im an idiot ;(

    Admin

    Syahir Hakim

    #11211

    Changes like this are much easier to be implemented using a child theme.

    Also, note that due to the way CSS works, you cannot *disable* the styles. You can only *override* them.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.