Bei Leander Theme rechte Spalte entfernen

  • Hi,

    Ihr habt mir neulich gezeigt, wie ich eine Unternseite mit gar keiner Spalte als Template anlege. Wie mache ich das denn wenn ich ein Template mit nur einer Spalte rechts brauche? Ist es einfacher aus dem Leander Theme eine zu entfernen. (hat drei) Oder ein neues Template anzulegen? Welchen Code muss ich denn dann zusätzlich einfügen für eine Sidebar? :confused:

    Stephan

    P.S. Und gleich zweite Frage .. wie bekomme ich diese blöde Menuleiste schwarz?? Das CSS an der Stelle:

    /* NAVIGATION MENUS */
    #pagemenucontainer {
    height: 50px;
    float: right;
    padding: 0;
    background: url(images/pagenav-bg.png) left top repeat-x;
    }

    #pagemenu {
    height: 50px;

    }
    #pagemenu, #pagemenu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1;
    }
    #pagemenu {
    margin-bottom: 1px;
    }

    #pagemenu ul {
    float: left;
    list-style: none;
    margin: 0px 0px 0px 0px;
    padding: 0px;
    }

    #pagemenu li {
    float: left;
    list-style: none;
    margin: 0px;
    padding: 0px;
    }

    #pagemenu ul li {
    list-style: none;
    margin: 0px;
    padding: 0px;
    }

    #pagemenu li a, #pagemenu li a:link {
    color: #000000;
    display: block;
    margin: 0;
    padding: 16px 16px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
    }

    #pagemenu li a:hover, #pagemenu li a:active {
    color: #000000;
    display: block;
    text-decoration: none;
    }

    #pagemenu li.current_page_item a {
    color:#000000;
    text-decoration: none;
    }
    #pagemenu li:hover, #pagemenu li.sfhover {
    position: static;
    }

    #navcontainer {
    height: 34px;
    display: block;
    overflow: hidden;
    background: url(images/nav-bg.png) left top repeat-x;
    border-bottom: 4px solid #000000;
    }

    #navcontainer .current-cat a {
    color:#000000;
    background: url(images/nav-bg-hover.png) left top repeat-x;
    }

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • hast du nen link dazu?

    das schon versucht:

    Code
    ...
    background:#000000 [URL="http://forum.wordpress-deutschland.org/lexikon/?do=showentry&item=url"]url[/URL](images/nav-bg-hover.png) left top repeat-x;
    ...
  • hab ich grad probiert , ändert sich auch nix :-(

    Hätte hier mal das gesamte Stylesheet zu bieten. Link kann ich grade nicht setzten ohne den ganzen provisorischen Inhalt wieder vorher rauszulöschen :-) Hilft Dir das hier auch schon weiter?

    /*
    Theme Name: Leander
    Theme URL: http://newwpthemes.com/wordpress-theme/leander/
    Description: Leander is a free WordPress theme with featured content option and supports the post thumbnails. Suitable for any niche. Theme Options at admin panel.
    Author: NewWpThemes.com
    Author URI: http://newwpthemes.com/
    Version: 1.0
    Tags: Blogging, Ads Ready, Three Columns, Right Sidebar, Fixed Width, Options Page
    */
    /* LAYOUT */
    body {
    background: #f6f6f1 url(images/background.png) left top repeat-x;
    }
    #wrapper {
    }

    #container {
    }
    #contentwrap {
    background: #fff;
    }
    a {
    color: #f50532;
    text-decoration: underline;
    }
    a:hover {
    color: #000;
    text-decoration: underline;
    }
    /* HEADER */
    #header {
    height:200px;
    }
    #header h1 {
    margin-bottom: 2px !important;
    padding: 22px 0 0 0;
    font-weight: normal;
    font-family: Arial, Helvetica, Sans-serif;
    font-weight: bold;
    font-size: 46px;
    }
    #header h1 a, #header h1 a:visited {
    color: #131515;
    text-decoration: none;
    }

    #header h2 {
    color: #939292;
    font-size: 14px;
    line-height: 14px;
    font-family: Arial, Helvetica, Sans-serif;
    font-style: italic;
    }
    .logoimg {
    margin: 5px 0 0 0;
    }

    /* NAVIGATION MENUS */
    #pagemenucontainer {
    height: 50px;
    float: right;
    padding: 0;
    background: #000000 url(images/pagenav-bg.png) left top repeat-x;
    }

    #pagemenu {
    height: 50px;

    }
    #pagemenu, #pagemenu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1;
    }
    #pagemenu {
    margin-bottom: 1px;
    }

    #pagemenu ul {
    float: left;
    list-style: none;
    margin: 0px 0px 0px 0px;
    padding: 0px;
    }

    #pagemenu li {
    float: left;
    list-style: none;
    margin: 0px;
    padding: 0px;
    }

    #pagemenu ul li {
    list-style: none;
    margin: 0px;
    padding: 0px;
    }

    #pagemenu li a, #pagemenu li a:link {
    color: #000000;
    display: block;
    margin: 0;
    padding: 16px 16px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
    }

    #pagemenu li a:hover, #pagemenu li a:active {
    color: #000000;
    display: block;
    text-decoration: none;
    }

    #pagemenu li.current_page_item a {
    color:#000000;
    text-decoration: none;
    }
    #pagemenu li:hover, #pagemenu li.sfhover {
    position: static;
    }


    #navcontainer {
    height: 34px;
    display: block;
    overflow: hidden;
    background: #000000 url(images/nav-bg.png) left top repeat-x;
    border-bottom: 4px solid #000000;
    }

    #navcontainer .current-cat a {
    color:#000000;
    background: # 000000url(images/nav-bg-hover.png) left top repeat-x;
    }


    /* CONTENT */
    #fullwidth {
    float: left;
    padding: 5px 5px 5px 5px;
    width: 100%;
    }

    #content {
    padding: 15px;
    color: #504d4d;
    }

    pre { overflow: auto;
    width: 460px;
    }

    .post {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    }
    .post_thumbnail {
    padding: 6px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0 10px 10px 0;
    }

    .post p {
    margin-bottom: 10px;
    }
    .title {
    margin: 0 0 8px 0;
    padding: 0px;
    line-height: 24px;
    font-size: 24px;
    font-family: Arial, Helvetica, Sans-serif;
    color: #4a4848;
    font-weight: bold;
    }

    .title a {
    text-decoration: none;
    color: #4a4848;
    }
    .title a:hover {
    color: #fa214a;
    }
    .pagetitle {
    margin-bottom: 20px;
    line-height: 22px;
    font-family: Arial, Verdana;
    text-decoration: underline;
    color: #4a4848;
    }

    .readmorecontent {
    text-align: right;
    }
    a.readmore {
    padding: 4px 15px;
    background: #8d8d8c;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    }
    a.readmore:hover {
    background-color: #de072f;
    color: #fff;
    }


    .postdate {
    font-size: 13px;
    font-family: Arial, Helvetica, Sans-serif;
    font-style: italic;
    color: #666;
    }

    .postmeta {
    font-size: 11px;
    padding: 2px 4px;
    font-family: Arial, Verdana;
    color: #666;
    }

    .postdate img, .postmeta img {
    border: none;
    vertical-align: middle;
    margin:2px;
    }

    .entry {
    text-align: justify;
    line-height: 20px;
    padding-top: 8px;
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 14px;
    }
    .navigation {
    padding: 10px 0;
    }
    blockquote {
    overflow: hidden;
    padding-left: 9px;
    font-style: italic;
    color: #666;
    border-left: 3px solid #CADAE7;
    }

    .post img {
    max-width: 680px;
    }
    img.wp-smiley {
    max-height: 12px;
    margin: 0;
    padding: 0;
    border: none;
    }

    .aligncenter,
    div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }
    .alignleft {
    float: left;
    }
    .alignright {
    float: right;
    }
    .wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    /* optional rounded corners for browsers that support it */
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    }
    .wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
    }
    .wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
    }

    /* wp-pagenavi */
    .wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
    font-size: 15px !important;
    padding: 4px 8px !important;
    color: #000000!important;
    background:none !important;
    border: 0 !important;
    }
    .wp-pagenavi a:hover {
    border: 0 !important;
    color: #fff !important;
    background:#000000!important;
    border: 0 !important;

    }
    .wp-pagenavi span.pages {
    font-size: 15px !important;
    padding: 4px 8px !important;
    color: #6d6d6d !important;
    background: none !important;
    border: 0 !important;
    }
    .wp-pagenavi span.current {
    font-size: 15px !important;
    padding: 4px 8px !important;
    font-weight: bold;
    color: #fff !important;
    background:#de072f !important;
    border: 0 !important;
    }
    .wp-pagenavi span.extend {
    font-size: 15px !important;
    padding: 4px 8px !important;
    background:transparent !important;
    color: #6d6d6d !important;
    background: none !important;
    border: 0 !important;
    }
    /* SIDEBAR(S) */
    .sidebaradbox {
    margin-top: 5px;
    text-align:center;
    }

    .sidebaradbox125 {
    margin-top: 10px;
    text-align:center;
    }

    .ad125 {
    margin: 10px 0;
    }

    .sidebar {
    margin: 0 0 10px 0;
    color: #6d6d6e;
    }

    .left-sidebar {
    padding-right: 10px;
    }
    .right-sidebar {
    padding-right: 10px;
    }
    .sidebar a {
    text-decoration: none;
    color: #6d6d6e;
    }
    .sidebar a:hover {
    text-decoration: underline;
    color:#df5d75;
    }



    #search {
    border: 1px solid #e5e6de;
    height: 28px;
    padding: 0;
    background: #fff;
    text-align: right;
    }
    #search input {
    border: 0;
    background: none;
    color: #7d7d7d;
    }


    #s {
    width: 218px;
    padding: 4px;
    margin:2px 0 0 0;
    background: none;
    }
    #topsearch #search {
    margin-top: 15px;
    }
    #topsearch #s {
    width: 218px;
    }

    /* Social icons */
    .addthis_toolbox {
    padding: 15px 0 0 0;
    text-align: center;
    }
    .addthis_toolbox .custom_images a
    {
    width: 32px;
    height: 32px;
    margin: 0 0 0 1px;
    padding: 0;
    }
    .addthis_toolbox .custom_images a:hover img
    {
    opacity: 1;
    }
    .addthis_toolbox .custom_images a img
    {
    opacity: 0.85;
    }

    .socialboxes {
    background: #fff;
    border: 1px solid #dbd9d9;
    padding: 10px;
    margin: 10px 0 0 0;
    }

    .socialboxes:hover {
    border: 1px solid #9c9c9c;
    }
    .socialboxes a {
    color: #52575c;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    font-family: Arial, Helvetica, Sans-serif;
    }
    .socialboxes a:hover {
    color: #353739;
    text-decoration: underline;
    }

    .sidebar h2 {
    margin: 10px 0 0 0;
    padding: 10px 0 10px 15px;
    font-size: 16px;
    line-height: 16px;
    font-family: Arial, Helvetica, Sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #414445;
    background: url(images/sidebar_tab.png) left center no-repeat;
    border-bottom: 4px solid #e5e6de;
    }
    .sidebar ul {
    list-style-type: none;
    margin: 0px 0px 10px 0px;
    padding: 0px;
    }

    .sidebar ul li {
    list-style-type: none;
    margin: 0px 0px 5px 0px;
    padding: 0px;
    }
    .sidebar ul ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    }

    .sidebar ul li li, .sidebar ul li ul li {
    padding: 6px 0px 6px 14px;
    margin: 0;
    background: url(images/arrow.png) left 14px no-repeat;
    }

    #wp-calendar th {
    font-style: normal;
    text-transform: capitalize;
    color: #6d6d6e;
    background: none !important;
    }
    #wp-calendar caption {
    padding: 2px 4px;
    text-transform: uppercase; margin: 2px 0 2px 0;
    background: none !important;
    color: #6d6d6e;
    }
    #wp-calendar td {
    color: #6d6d6e;
    font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    letter-spacing: normal;
    padding: 2px 0;
    text-align: center;
    }
    #wp-calendar td:hover, #wp-calendar #today {
    background: #8d8d8c;
    color: #fff;
    }
    #wp-calendar td:hover a {
    color: #fff;
    }
    #wp-calendar {
    empty-cells: show;
    font-size: 14px;
    margin: 0;
    font-weight: bold;
    width: 100%;
    }

    /* FOOTER */
    #footer {
    padding: 24px 0;
    text-align: center;
    color: #434141;
    font-size: 13px;
    background: #f6f6f1;
    border-top: 6px solid #dadad7;
    }
    #footer a {
    color: #434141;
    }
    #footer a:hover {
    text-decoration: none;
    color: #434141;
    }

    #footer2 {
    color: #7d7d7d;
    font-size: 11px;
    text-align: center;
    padding: 10px;
    border-top: 2px solid #dadad7;
    }

    #footer2 a {
    color: #7d7d7d;
    text-decoration: none;
    }

    /* COMMENTS */
    #comments h3 {
    margin-bottom: 10px;
    }
    #commentform input {
    width: 170px;
    padding: 2px;
    margin: 5px 5px 1px 0;
    }
    #commentform {
    margin: 5px 10px 0 0;
    }

    #commentform textarea {
    width: 100%;
    padding: 2px;
    }

    #respond:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

    #commentform #submit {
    margin: 0 0 5px auto;
    float: right;
    }
    .alt {
    margin: 0;
    padding: 10px;
    }

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!