+ Antworten
Ergebnis 1 bis 7 von 7

Thema: Mainmenü verschiebt sich

  1. #1
    Kommt häufiger vorbei
    Registriert seit
    23.10.2005
    Beiträge
    295
    Bedankte sich
    45
    Erhielt 5 Danksagungen
    in 5 Beiträgen

    Standard Mainmenü verschiebt sich

    Hallo,

    ich habe versucht in meinem Mainmenü Unterkategorien zu erstellen. Das hat auch wunderbar geklappt. Leider verschiebt sich mein Menü wenn ich die Unterkategorie aufrufe. Im Forum habe ich nix passendes gefunden. Vielleicht kann mir ja jemand sagen wo ich dies ändern kann. Ich denke in der CSS, weis aber net an was für einer stelle.



    MFG
    Geändert von thomas11 (20.08.2006 um 19:55 Uhr)

  2. #2
    Neu an Board Avatar von Skipper™
    Registriert seit
    10.08.2006
    Beiträge
    57
    Bedankte sich
    0
    Erhielt 16 Danksagungen
    in 16 Beiträgen

    Standard

    ganz genau.
    Du musst in der template_css.css nach dieser Einstellung Suchen und entsprechend anpassen:

    PHP-Code:
    a.sublevel:linka.sublevel:visited xxx }
    a.sublevel:hover xxx 
    Beste Grüße,
    Skipper™

    http://joomla-templates.de/ - Joomla Template Tutorial

  3. #3
    Kommt häufiger vorbei
    Registriert seit
    23.10.2005
    Beiträge
    295
    Bedankte sich
    45
    Erhielt 5 Danksagungen
    in 5 Beiträgen

    Standard

    Zitat Zitat von Skipper™
    ganz genau.
    Du musst in der template_css.css nach dieser Einstellung Suchen und entsprechend anpassen:

    PHP-Code:
    a.sublevel:linka.sublevel:visited xxx }
    a.sublevel:hover xxx 
    Hi Skipper Danke, was sollen den die x bedeuten?
    Ich habe leider keine Ahnung mehr, ich habe alles in diesem bereich ausprobiert aber ich bekomme es einfach net. Weist du vielleicht genau an was für einem Wert das liegt?
    Geändert von thomas11 (10.08.2006 um 21:36 Uhr)

  4. #4
    Neu an Board Avatar von Skipper™
    Registriert seit
    10.08.2006
    Beiträge
    57
    Bedankte sich
    0
    Erhielt 16 Danksagungen
    in 16 Beiträgen

    Standard

    Diese "xxx" stehen für den entprechenden Code wie er in deinem Template steht.
    Wenn du den Part aus deiner CSS hier Postest könnten wir sicher mehr sagen.
    Beste Grüße,
    Skipper™

    http://joomla-templates.de/ - Joomla Template Tutorial

  5. #5
    Kommt häufiger vorbei
    Registriert seit
    23.10.2005
    Beiträge
    295
    Bedankte sich
    45
    Erhielt 5 Danksagungen
    in 5 Beiträgen

    Standard

    Zitat Zitat von Skipper™
    Diese "xxx" stehen für den entprechenden Code wie er in deinem Template steht.
    Wenn du den Part aus deiner CSS hier Postest könnten wir sicher mehr sagen.
    Hi Skipper,

    nochmal Danke für die Antwort. Anbei siehst du meine CSS.


    body {
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color:#333;
    background-image: url('../images/bg.png');

    }

    table, td {
    font-size: 11px;
    }

    a:link {color:#317bd1;}
    a:visited {color:#317bd1;}
    a:active {color:#317bd1;}
    a:hover {color:#E9E9E6;text-decoration:underline;}
    a.image, a.image:hover {border:0px none;}
    form{
    margin: 0px;
    padding: 0px;
    }

    /*---- NAVGATION SECTION -----*/

    table.moduletable-MAINLEVELMENU {
    background-color: #E9E9E6;
    margin: 0px;
    padding: 0px;
    width: 50px;
    color: #ffffff;
    }


    /*-------MAINLEVEL MENU---------- */
    .mainlevel {background-color: #d7d7d7;
    margin: 0px;
    padding: 0px;
    width: 150px;
    }

    a.mainlevel {
    display: block;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    font-weight: bold;
    padding: 3px 0px 3px 10px;
    color: #ffffff;
    background-color: #99c8ff;
    }

    a.mainlevel:visited {
    display: block;
    border-top: 1px solid White;
    border-bottom: 1px solid #225185;
    font-weight: bold;
    padding: 3px 0px 3px 10px;
    color: White;
    background-color: #99c8ff;
    }


    a.mainlevel:hover {
    border-top: 1px solid #cccccc;
    background-color: #ffcb67;
    background-image: url('none');
    font-weight: bold;
    text-decoration: none;
    color: White
    }

    /*------Sub Menu links------- */
    .sublevel{background-color: #99c8ff;
    margin: 0px;
    padding: 0px;
    width: 146px;
    }
    a.sublevel{
    display: block;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    font-weight: bold;
    padding: 3px 0px 3px 10px;
    color: White;
    background-color: #99c8ff;
    }

    a.sublevel:visited{
    display: block;
    border-top: 1px solid #B91C00;
    border-bottom: 1px solid #225185;
    font-weight: bold;
    padding: 3px 0px 3px 10px;
    color: White;
    background-color: #003366;
    }

    a.sublevel:hover {
    border-top: 1px solid #cccccc;
    background-color: #ffcb67;
    background-image: url('none');
    font-weight: bold;
    text-decoration: none
    }


    .search {}

    /*-----------Highlight Found Words-------------*/
    .highlight {
    border: 1px dashed #010101;
    background: #DDEEFF;
    padding: 0px 2px 0px 2px;}

    /* -----------PATHWAY -------------------*/
    .pathway {
    font-family: "Trebuchet MS",verdana,sans-serif;
    font-size: 11px;
    color:#333;
    }
    a.pathway:link {color:#003366;}
    a.pathway:visited {color:#317bd1;}
    a.pathway:active {color:#003366;}
    a.pathway:hover {color:#999999;text-decoration:underline;}


    /* -------------- STANDARD MODULE TABLE ---------------- */

    table.moduletable {
    width: 100%;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    background-color: White;
    }

    table.moduletable th {
    background: #317bd1;
    font-family: "Trebuchet MS",verdana,sans-serif;
    color: #ffffff;
    }

    table.moduletable td {
    font-family: "Trebuchet MS",verdana,sans-serif;
    font-size: 11px;
    }

    table.moduletable a:link{}
    table.moduletable a:visited{}
    table.moduletable a:active{}
    table.moduletable a:hover{}


    table.moduletable-log{
    font-family: "Trebuchet MS",verdana,sans-serif;
    font-size: 11px;
    color:White;
    }
    table.moduletable-log th{color:White;}
    table.moduletable-log td{color:White;
    text-align: center;}
    table.moduletable-log a:link{color:White;}
    table.moduletable-log a:visited{color:White;}
    table.moduletable-log a:active{color:White;}
    table.moduletable-log a:hover{}


    table.moduletable-demo{}
    table.moduletable-demo th{}
    table.moduletable-demo td{}
    table.moduletable-demo a:link{}
    table.moduletable-demo a:visited{}
    table.moduletable-demo a:active{}
    table.moduletable-demo a:hover{}


    /* ------------ CONTENT - SECTIONS & CATEGORIES -------------*/
    .contentheading {
    width: 100%;
    font-size: 1em;
    font-weight: bold;
    font-family: arial,sans-serif;
    color: #666;
    background: White;
    text-align:left;
    margin: 1.5em -.3em 0em 0; padding: .2em;
    border-bottom-width: 1px;
    border-bottom-color: #317bd1;
    border-bottom-style: solid;
    }

    .contentpagetitle {background-color : White;}



    a.contentpagetitle h1, a.contentpagetitle:link, a.contentpagetitle:visited {
    text-decoration: none;
    font-weight: normal;
    color: #666;
    border-bottom: 0px;
    }

    a.contentpagetitle:hover {
    color: #000;
    border-bottom: 0px dashed #CCCCCC;
    text-decoration: none;
    }

    .contentpane {background: White;}

    .contentdescription {background-color : White;}
    .contentpaneopen {
    font-family: "Trebuchet MS",verdana,sans-serif;
    font-size: 11px; color:#333;
    background-color: White;
    width: 100%;
    }
    .contentpaneopen li{}
    .contentpaneopen ul {}
    .content_rating {
    font-weight: normal;
    font-size:.8em;
    }
    .content_vote {
    font-weight: normal;
    font-size: .8em;
    }
    .buttonheading{}
    a.pop-up {border-bottom: 0px none;}
    .pop-ups {float: right;}
    .newsfeeddate {
    font-family: arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #0033CC;
    font-weight: normal;
    }
    .createdate {
    color: #666;
    font-size:.8em;
    font-weight: normal;
    line-height: 1;
    }

    .modifydate {
    font-family: arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666;
    text-decoration: none;
    font-weight: normal;
    }

    .small {
    color: #666;
    line-height: 1;
    }
    .pagenav{}
    a.pagenav {color: #CCC; border-bottom: 0px none;}
    a.pagenav:hover {color: #666; border-bottom: 0px none;}

    .pagenavcounter{}

    .readon{}
    .back_button{}
    a.toclink:hover, a.toclink:visited, a.toclink:link {
    }
    table.contenttoc {
    border: 1px solid #ddd;
    background: none;
    border-collapse: collapse;
    padding: 0px;
    margin: 2px;
    }
    table.contenttoc th {
    background-color: #000066;
    font-weight: bold;
    }
    table.contenttoc td {
    padding: 2px;
    }
    .componentheading {
    font-size: 1.5em;
    font-weight: bold;
    color: #666666;
    text-align:left;
    margin: 1.5em 0 0em 0;
    background-color: White;
    }
    .sectiontableheader {
    background-color : #D3D3D3;
    color : #333;;
    font-weight : bold;
    border-collapse: collapse;
    font-family: "Trebuchet MS",verdana,sans-serif;
    font-size: 11px;
    }
    .sectiontablefooter{}
    .sectiontableentry1 {
    background-color : #FFFFFF;
    font-family: "Trebuchet MS",verdana,sans-serif;
    font-size: 11px;
    }

    .sectiontableentry2 {
    background-color : #EBEBEB;
    font-family: "Trebuchet MS",verdana,sans-serif;
    font-size: 11px;
    }
    .category {
    font-family: "Trebuchet MS",verdana,sans-serif;
    font-size: 11px;
    color:#333;
    }
    a.category:link, a.category:visited {}

    a.category:hover {}
    .blogsection{}
    .blog_more{}
    .blog_heading {}

    /* -------- FORM SECTION --------------- */

    .inputbox {
    font-family: arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 11px;
    background: White;
    border: 1px solid #999;
    margin-left: 10px;
    }

    .selectbox {
    font-family: arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 11px;
    background: #FFFFE0;
    width: 100%;
    border: 1px solid #999;
    }

    .button {
    font-size: 1.0em;
    background: #FFFFE0;

    border: 1px solid #999;
    }
    .contact-form {
    width: 100%;
    }
    .contact_email {margin: 0px;
    padding: 10px;}

    /*--------------------TABBED EDITING-------------------- */

    .moscode {
    background-color: #f0f0f0;
    }

    .code {
    font-family: courier, serif;
    font-size: 1.2em;
    padding: 2px;
    line-height: 1.3em;
    background-color: #f0f0f0;
    color: blue;
    border: 1px solid #d5d5d5;
    margin: 0px;
    width: 90%;
    }



    .message {
    font-family : arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size : 1em;
    color : #666;
    text-align: center;
    }


    .ontab {
    background-color: #666666;
    border-left: outset 1px #666;
    border-right: outset 1px #333;
    border-top: outset 1px #666;
    border-bottom: solid 1px #333;
    text-align: center;
    cursor: default;
    font-weight: bold;
    color: #FFFFFF;
    padding: .2em;
    }

    .offtab {
    background-color : #cccccc;
    border-left: outset 1px #666;
    border-right: outset 1px #333;
    border-top: outset 1px #666;
    border-bottom: solid 1px #333;
    text-align: center;
    cursor: default;
    font-weight: normal;
    padding: .2em;
    }

    .edit-tabs {
    padding: 1em;
    background: none;
    }

    .tabpadding {

    }

    .tabheading {
    background-color: #ffae00;
    text-align: left;
    }

    .pagetext {
    visibility: hidden;
    display: none;
    }

    .adminform{background-color : #FFFFFF;}

  6. #6
    Kommt häufiger vorbei
    Registriert seit
    23.10.2005
    Beiträge
    295
    Bedankte sich
    45
    Erhielt 5 Danksagungen
    in 5 Beiträgen

    Standard

    Hallo

    hat den keiner eine Ahnung wie ich das ändern kann. Ich bräuchte diese Info dringend. Es wäre nett wenn mir jemand eine Lösung anbieten könnte.
    Gruß Thomas

  7. #7
    Neu an Board
    Registriert seit
    18.08.2006
    Ort
    Langenfeld
    Beiträge
    8
    Bedankte sich
    0
    1 Danksagung in 1 Beitrag

    Beitrag

    Das Problem hatte ich auch.
    In der Datei mod_mainmenu.php wird der Einzug für die unteren Menuebenen festgelegt, standardmaßig ist der bei 3px oder so. Dort einfach mal nach $indents suchen und den auf 0px stellen.
    Möglicherweise nicht der einfachste Weg und es klappt auch über CSS, bei mir klappt's jedenfalls so.

  8. Erhielt Danksagungen von:


+ Antworten

Ähnliche Themen

  1. Mainmenü - Links bleiben nicht aktiv
    Von nicole2911 im Forum Mambo Anfänger
    Antworten: 2
    Letzter Beitrag: 11.07.2006, 19:55
  2. Fragen zu Top- und Mainmenü
    Von flar2 im Forum Joomla Templates
    Antworten: 3
    Letzter Beitrag: 12.06.2006, 22:49
  3. wie komme ich an den Quelltext vom Mainmenü?
    Von siak im Forum Joomla Templates
    Antworten: 3
    Letzter Beitrag: 28.03.2006, 14:01
  4. probleme mit home-link im mainmenü
    Von peaco im Forum Joomla Module
    Antworten: 4
    Letzter Beitrag: 09.03.2006, 19:23
  5. Antworten: 12
    Letzter Beitrag: 24.11.2005, 06:47

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein