Support » Allgemeine Fragen » Container entfernen

  • Gelöst rojasch

    (@rojasch)


    Hallo,

    ich möchte auf einer Seite, die mit einer alten Version erstellt wurde, den linken Container entfernen, damit nur eine Grafik mittig auf der Startseite steht. Kann mir jemand sagen, was ich aus dem entsprechenden Theme-Stylesheet (style.css) entfernen muss (s.u.)?

    Ursrünglich standen da auf der linken Seite Menüpunkte. Die habe ich allerdings runter genommen.

    Ich würde mich total über Unterstützung freuen!

    Liebe Grüße
    Roja

    /*
    Theme name: Green Lady
    Theme URI: http://praegnanz.de/shop
    Description: Taken from the <a href="http://www.undsoversity.de/wordpress-3">Undsoversity</a> video workshop.
    Tags: green, two-columns, fixed-width, custom-header
    Author: Gerrit van Aaken
    Author URI: http://praegnanz.de/
    Version: 1.3.4
    
      The CSS, XHTML and design is released under the GPL:
      http://www.gnu.org/licenses/gpl.html
      Copy, remix and play around with the CSS - but leave the original author credentials.
      
    */
    
    * {
    margin: 0;
    padding: 0;
    font-size: 100%;
    }
    
    body {
    font: normal 15px/24px georgia, "Times New Roman", serif;
    color: #653d1d;
    }
    
    .wrapper {
    width: 880px;/*880*/
    margin: 0 auto;
    }
    
    #left-col {
    width: 280px;/*280*/
    float: left;
    clear: both;
    margin: 50px 0 0 0;
    }
    
    #right-col {
    width: 580px;/*580*/
    float: right;
    margin: 50px 0 0 0;
    }
    
    #footer {
    clear: both;
    }
    
    #main {
    padding-top: 10px;
    }
    
    /* ------------------------------------- header area */
    
    .headline {
      width: 285px;
      float: left;
      padding-right: 15px;
    }
    
    h1 {
      margin-top: 30px;
      
      font-size: 30px;
      font-weight: normal;
      font-style: italic;
      line-height: 1;
    }
    
    h1 a {
      color: #BACD0D;
      text-decoration: none;
    }
    
    h1 a:focus, 
    h1 a:hover,
    h1 a:active {
      text-decoration: underline;
    }
    
    h2 {
      margin-top: 10px;
      
      font-size: 25px;
      font-weight: normal;
      font-style: italic;
      line-height: 1;
    }
    
    h2 a {
      color: #BACD0D;
      text-decoration: none;
    }
    
    h2 a:focus, 
    h2 a:hover,
    h2 a:active {
      text-decoration: underline;
    }
    
    .headline p {
      margin-top: 5px;
      color: #999;
    }
    
    .headerimage {
    float: right;
    width:884px;
    }
    
    /* ------------------------------------- main navigation */
    
    #navi {
    height:-60px;
    background-color:#ff9900;
    clear: both;
    margin: 20px 0 0 300px;
    visibility:hidden;/*klaus*/
    }
    
    #navi a:link,
    #navi a:visited {
    color: #653d1d;
    text-decoration: none;
    }
    
    #navi a:focus,
    #navi a:hover,
    #navi a:active {
    color: #a3c30f;
    }
    
    #navi li.current_page_item a:link,
    #navi li.current_page_item a:visited,
    #navi li.current_page_ancestor a:link,
    #navi li.current_page_ancestor a:visited {
    color: #fff;
    }
    
    #navi li {
    list-style: none;
    float: left;
    margin-right: 15px;
    position: relative;
    padding: 2px 10px 2px 10px;
    }
    
    /*
    #navi .page_item:nth-child(2) { top: -6px; }
    #navi .page_item:nth-child(3) { top: -10px; }
    #navi .page_item:nth-child(4) { top: -12px; }
    #navi .page_item:nth-child(5) { top: -9px; }
    */
    
    #navi li.current_page_ancestor,
    #navi li.current_page_item {
    background-color: #a3c30f;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    }
    
    #navi ul ul {
      display: none;
    }
    
    /* ------------------------------------- content area */
    
    #right-col h2 {
    color: #bacd0d;
    font-size: 30px;
    clear: both;
    font-style: italic;
    font-weight: normal;
    margin-bottom: 20px;
    }
    
    #right-col h2 a {
      text-decoration: none;
    }
    
    #right-col h2 a:focus,
    #right-col h2 a:hover,
    #right-col h2 a:active {
      color: #bacd0d;
      text-decoration: underline;
    }
    
    #right-col a:link,
    #right-col a:visited {
    color: #bacd0d;
    }
    
    #right-col a:focus,
    #right-col a:hover,
    #right-col a:active {
    color: #653d1d;
    }
    
    #right-col p,
    #right-col dl,
    #right-col ul,
    #right-col ol,
    #right-col blockquote {
      margin-bottom: 0.75em;
    }
    
    #right-col ul,
    #right-col ol {
      margin-left: 20px;
    }
    
    .comment_invite {
      color: #888;
    }
    
    .post {
    margin-bottom: 55px;
    }
    
    .sticky {
      padding: 15px 15px 8px 15px;
      margin: 0 -15px 40px -15px;
      border: 1px solid #BACD0D;
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
    }
    
    .post .date {
    color: #888;
    margin-top: -12px;
    margin-bottom: 12px;
    font-style: italic;
    }
    
    hr {
    border: none;
    height: 22px;
    background: url(images/divisor.png) 50% 0 no-repeat;
    margin: 30px 0;
    }
    
    #right-col img {
    padding: 2px;
    border: 1px #bacd0d solid;
    margin: 25px 10px 25px 0;
    }
    
    #right-col table img {
      margin: 0;
      border: none;
    }
    
    #right-col img.last-child {
    margin-right: 0;
    }
    
    #pagination .alignleft {
    float: left;
    }
    
    #pagination .alignright {
    float: right;
    }
    
    dl {
      clear: both;
    }
    
    dt {
      float: left;
      width: 150px;
      font-weight: bold;
      clear: both;
      border-bottom: 1px dotted #999;
    }
    
    dd {
      border-bottom: 1px dotted #999;
      margin-left: 155px;
    }
    
    .post table {
      margin-bottom: 1.5em;
    }
    
    .post table td,
    .post table th {
      text-align: left;
      font-size: 14px;
      line-height: 1.25;
      border-bottom: 1px dotted #999;
      padding: 2px 10px;
    }
    
    blockquote {
      font-style: italic;
      color: #999;
      padding-left: 20px;
      margin-left: 10px;
      border-left: 1px solid #bacd0d;
    }
    
    #right-col .alignleft {
      float: left;
      margin: 5px 25px 25px 0;
    }
    
    #right-col .alignright {
      float: right;
      margin: 5px 0 25px 25px;
    }
    
    #right-col .alignnone {}
    
    #right-col .aligncenter {
      display: block;
      margin: 10px auto 12px auto;
    }
    
    #right-col h1 {
      margin: 0 0 30px 0;
    }
    
    #right-col .gallery dl {
      float: left;
      clear: none;
      padding: 0;
      margin: 0;
    }
    
    .gallery dd,
    .gallery dt {
      border: none;
      float: none;
      margin: 0;
      padding: 0;#
      width: auto;
    }
    
    #right-col .gallery img {
      margin: 0 0 20px 0;
    }
    
    /* ------------------------------------- Comments area */
    
    #response,
    #comments {
    padding: 20px 0;
    }
    
    #respond {
    margin-top: 20px;
    }
    
    #commentform p {
    position: relative;
    margin-bottom: 10px;
    }
    
    #commentform label {
    float: left;
    width: 120px;
    }
    
    #commentform input[type=text] {
    width: 300px;
    }
    
    #commentform span.required {
    position: absolute;
    top: 0;
    right: 140px;
    }
    
    .form-allowed-tags,
    .comment-notes {
    display: none;
    }
    
    h3#reply-title {
    margin-bottom: 15px;
    }
    
    #commentform input[type=submit] {
    margin-left: 120px;
    }
    
    #right-col #commentlist {
      margin-left: 0;
    }
    
    #commentlist li {
    clear: both;
    list-style: none;
    position: relative;
    margin-bottom: 40px;
    }
    
    .comment-body {
      border-top: 1px solid #ddd;
    }
    
    #right-col .comment-body p {
      margin: 0 0 0 48px;
    }
    
    #commentlist ul {
      margin-left: 48px;
    }
    
    #right-col img.avatar {
    float: left;
    position: relative;
    top: -20px;
    }
    
    .reply, .edit {
      font-size: 12px;
      margin-bottom: 20px;
      margin-left: 48px;
    }
    
    .edit {
      margin-left: 0;
    }
    
    #right-col .reply a {
      color: #fff;
      background: #bacd0d;
      padding: 0 10px;
      text-decoration: none;
    }
    
    #right-col .reply a:hover,
    #right-col .reply a:focus,
    #right-col .reply a:active {
      background: #bbb;
    }
    
    #right-col .bypostauthor {
      border: 1px solid #bacd0d;
      padding: 10px 15px 5px 15px;
      margin: -10px -15px 0 -15px;
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
    }
    
    .bypostauthor .comment-body {
      border-top: 0;
    }
    
    /* ------------------------------------- Widgets */
    
    .box {
     background: #dce8a4;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    width: 209px;
    padding: 8px 15px 12px 15px;
    font-size: 13px;
    position: relative;
    margin-bottom: 20px;
    clear: both;
    }
    
    .box table {
      width: 100%;
    }
    
    #calendar_wrap td,
    #calendar_wrap th {
      text-align: center;
    }
    
    .box a:link,
    .box a:visited {
    color: #653d1d;
    }
    
    #left-col .box a:focus,
    #left-col .box a:hover,
    #left-col .box a:active {
    text-decoration: none;
    color: #000;
    }
    
    .box h2 {
    font-weight: normal;
    font-size: 18px;
    font-style: italic;
    color: #653d1d;
    }
    
    .box .address {
    margin-top: 8px;
    line-height: 19px;
    }
    
    .box ul {
    margin: 15px 0 0 0;
    }
    
    .box ul li {
    list-style: square outside;
    margin-left: 1.2em;
    line-height: 1.3;
    margin-bottom: 6px;
    }
    
    .box p {
      line-height: 1.4;
    }
    
    /* ------------------------------------- sub navigation */
    
    .subnavi {
      background: #a3c30f;
    }
    
    #left-col .subnavi ul {
      margin-top: 10px;
    }
    
    #left-col .subnavi ul ul {
      margin-left: 15px;
    }
    
    #left-col .subnavi ul li {
      margin-left: 0;
      font-size: 16px;
    }
    
    #left-col .subnavi ul ul li {
      margin-left: 0;
      font-size: 14px;
    }
    
    #left-col .subnavi a:link,
    #left-col .subnavi a:visited {
    color: #fff;
    text-decoration: none;
    }
    
    #left-col .subnavi a:focus,
    #left-col .subnavi a:hover,
    #left-col .subnavi a:active {
    text-decoration: underline;
    }
    
    #left-col .subnavi .current_page_item a {
      text-decoration: none;
    }
    
    #left-col .subnavi .current_page_item > a:link,
    #left-col .subnavi .current_page_item > a:visited {
    color: #653d1d;
    }
    
    #left-col .subnavi li {
    list-style: none;
    margin-bottom: 10px;
    float: left;
    clear: both;
    }
    
    #left-col ul {
    overflow: hidden;
    list-style: none;
    }
    
    #left-col li.current_page_item {
    background: url(images/arrow.png) right 3px no-repeat;
    padding-right: 16px;
    }
    
    /* ------------------------------------- Footer */
    
    #footer {
    padding: 35px 0;
    }
    
    #footer p {
    text-align: right;
    position: relative;
    }
    
    /* ------------------------------------- Wave */
    
    #header {
      overflow: hidden;
    }
    
    hr.wave {
    clear: both;
    background: url(images/wave.png) center 0 no-repeat;
    height: 59px;
    margin-top: -45px;/*-35px*/
    margin-bottom: -48px;
    position: relative;
    }
    
    hr.wave-footer {
    margin-top: 30px;
    margin-bottom: -78px;
    }
    
    #footer a:link,
    #footer a:visited {
    color: #653d1d;
    }
    
    #footer a:focus,
    #footer a:hover,
    #footer a:active {
    color: #BACD0D;
    }
    
    /*-------------------------------- Kontaktformular */
    label {
    margin-right:10px;
    }
    form {
    /*padding:10px;
    border:1px solid #BACD0D;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    */
    }
    textarea {
    padding:10px;
    border:1px solid #653d1d;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    }
    input {
    padding:0px 2px 0px 2px;
    border:1px solid #653d1d;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    }
Ansicht von 5 Antworten - 1 bis 5 (von insgesamt 5)
  • Ah ja, klar, den linken Container. Den … also klar, den linken Container.
    Von bitte was? ¯\_(ツ)_/¯

    Warum ein Link zu deiner Website wichtig ist

    Thread-Ersteller rojasch

    (@rojasch)

    Entschuldige bitte, die URL hatte ich vergessen:

    http://www.treffpunkt-mexikoplatz.de/

    Es geht um den linken Bereich nebend er Grafik. Den Code hatte ich ja obens chon eingefügt.

    Viele Grüße
    Roja

    Trage mal ins Custom-CSS ein:
    #right-col { float: none; }

    Kann mir jemand sagen, was ich aus dem entsprechenden Theme-Stylesheet (style.css) entfernen muss

    Das wäre eine dumme Idee, denn beim nächsten Update des Themes wären die Änderungen wieder verschwunden.

    • Diese Antwort wurde geändert vor 2 Wochen, 2 Tage von bscu.
    Thread-Ersteller rojasch

    (@rojasch)

    Wow, Wahnsinn!

    Danke – das hat geklappt!

    Danke, danke, danke!

    Den Rest passe ich dann noch an.

    Liebe Grüße
    Roja

    Moderator Bego Mario Garde

    (@pixolin)

    Danke – das hat geklappt!

    Das ist doch schön. Denkst du demnächst bitte noch daran, den Thread als „gelöst“ zu markieren?

Ansicht von 5 Antworten - 1 bis 5 (von insgesamt 5)