Jump to content

galtech

Members
  • Posts

    9
  • Joined

  • Last visited

About galtech

  • Birthday 06/10/1982

Previous Fields

  • Languages
    PHP, MySQL, HTML, CSS, JavaScript

Contact Methods

  • Website URL
    http://www.peterheylin.com

Profile Information

  • Location
    Ireland
  • Interests
    web development and programming, swing dancing, rugby and soccer.

galtech's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hi, I've been trying to add dropdown menus to a wordpress theme. The lower level options seem to be positioned behind the slideshow. I have been looking at z-index properties of the menu and slideshow, but still cannot get the lower level options to show. My menu stylesheet is: /* ================================================================This copyright notice must be untouched at all times.The original version of this stylesheet and the associated (x)htmlis available at http://www.cssplay.co.uk/menus/final_drop.htmlCopyright (c) 2005-2008 Stu Nicholls. All rights reserved.This stylesheet and the associated (x)html may be modified in anyway to fit your requirements.=================================================================== */.menu {width:1000px;/*745px;*/ height: 55px;/*32px;*/ position:relative; /*border-right:1px solid #000;*/ font-family:arial, sans-serif;margin: 0px auto;}/* hack to correct IE5.5 faulty box model */* html .menu {width:1000px;/*746px;*/ w\idth:745px;}/* remove all the bullets, borders and padding from the default list styling */.menu ul {padding:0;margin:0;list-style-type:none;}.menu ul ul {width:149px;}/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */.menu li {float:left;width:149px;position:relative;}/* style the links for the top level */.menu a, .menu a:visited {display:block;font-size:14px;text-align:center;/*12px;*/text-decoration:none; color:#3B3B3B;/*#fff;*/ width:138px; height:55px;/*30px;*/ border:3px solid #EDEDED;/*#000;*/ border-width:1px 0 1px 1px; background:#EDEDED;/*#09c;*/ /*padding-left:10px;*/ line-height:55px;/*29px;*/ font-weight:bold;}/* a hack so that IE5.5 faulty box model is corrected */* html .menu a, * html .menu a:visited {width:149px; w\idth:138px;}/* style the second level background */.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#EDEDED; /*#d4d8bd url(http://www.cssplay.co.uk/menus/breadcrumbs/grey-arrow.gif) no-repeat 130px center;*/}/* style the second level hover */.menu ul ul a.drop:hover{background: #008200;/*#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;*/}.menu ul ul :hover > a.drop {background:#008200;/*#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;*/}/* style the third level background */.menu ul ul ul a, .menu ul ul ul a:visited {background:#EDEDED;/*#e2dfa8;*/}/* style the third level hover */.menu ul ul ul a:hover {background:#008200; /*#b2ab9b;*/}/* hide the sub levels and give them a positon absolute so that they take up no room */.menu ul ul {visibility:hidden;position:relative; z-index: 99999; /*height:0;top:51px;*//*31px;*/left:0; width:149px;/*border-top:1px solid #000;*/}/* another hack for IE5.5 */* html .menu ul ul {top:50px;/*30px;*/t\op:31px;}/* position the third level flyout menu */.menu ul ul ul{left:149px; top:-1px; width:149px;}/* position the third level flyout menu for a left flyout */.menu ul ul ul.left {left:-149px;}/* style the table so that it takes no ppart in the layout - required for IE to work */.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}/* style the second level links */.menu ul ul a, .menu ul ul a:visited {background:#EDEDED;/*#d4d8bd;*/ color:#3B3B3B;/*#000;*/ height:auto; line-height:1em; padding:5px 10px; width:128px;border-width:0 1px 1px 1px;}/* yet another hack for IE5.5 */* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;w\idth:128px;}/* style the top level hover */.menu a:hover, .menu ul ul a:hover{color:#000; background:#008200;/*#b7d186;*/}.menu :hover > a, .menu ul ul :hover > a {color:#000; background:#008200;/*#b7d186;*/}/* make the second level visible when hover on first level list OR link */.menu ul li:hover ul,.menu ul a:hover ul{visibility:visible; }/* keep the third level hidden when you hover on first level list OR link */.menu ul :hover ul ul{visibility:hidden;}/* make the third level visible when you hover over second level list OR link */.menu ul :hover ul :hover ul{ visibility:visible;} /* ================================================================ This CSS is further CSS I have created specifically for Wordpress so that the current page is highlighted in two levels. If you want it in three levels let me know. Author: Isaac Rowntree Website: www.zackdesign.biz=================================================================== */.menu ul ul .current_page a { color: red; background: white; border-left: 1px solid black;}.menu .current_page a { color: red; font-weight: bold; background: white;}.menu ul .current_page ul a { color: white; font-weight: normal; background: black;}.menu ul .current_page ul a:hover { background: gray;}.menu .current_page a:hover { background: white;}/* ================================================================This copyright notice must be untouched at all times.The original version of this stylesheet and the associated (x)htmlis available at http://www.cssplay.co.uk/menus/flyout3.htmlCopyright (c) 2005-2009 Stu Nicholls. All rights reserved.This stylesheet and the associated (x)html may be modified in anyway to fit your requirements.=================================================================== */.right-menu {z-index:1000;font-size:90%;float:right;margin:0 25px 50px 0; /* this page only */}/* remove all the bullets, borders and padding from the default list styling */.right-menu ul {padding:0;margin:0;list-style-type:none;width:150px;}/* hack for IE5.5 */* html .right-menu ul {margin-left:-16px; ma\rgin-left:0;}/* position relative so that you can position the sub levels */.right-menu li {position:relative;background:#d4d8bd;height:26px;}/* get rid of the table */.right-menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}/* style the links */.right-menu a, .right-menu a:visited {font-family:verdana, sans-serif;display:block;text-decoration:none;height:25px;line-height:25px;width:149px;color:#000;text-indent:5px;border:1px solid #fff;border-width:0 1px 1px 0;}/* hack for IE5.5 */* html .right-menu a, * html .right-menu a:visited {background:#d4d8bd; width:150px; w\idth:149px;}/* style the link hover */* html .right-menu a:hover {color:#fff; background:#949e7c;}.right-menu :hover > a{color:#fff;background:#949e7c;}/* hide the sub levels and give them a positon absolute so that they take up no room */.right-menu ul ul {visibility:hidden;position:absolute;top:0;left:-150px;}/* make the second level visible when hover on first level list OR link */.right-menu ul li:hover ul,.right-menu ul a:hover ul {visibility:visible;}/* keep the third level hidden when you hover on first level list OR link */.right-menu ul :hover ul ul{visibility:hidden;}/* keep the fourth level hidden when you hover on second level list OR link */.right-menu ul :hover ul :hover ul ul{visibility:hidden;}/* make the third level visible when you hover over second level list OR link */.right-menu ul :hover ul :hover ul{visibility:visible;}/* make the fourth level visible when you hover over third level list OR link */.right-menu ul :hover ul :hover ul :hover ul {visibility:visible;}/*<!--[if IE 7]><style type="text/css">.right-menu li {float:left;}</style><![endif]-->*//* ================================================================This copyright notice must be untouched at all times.The original version of this stylesheet and the associated (x)htmlis available at http://www.cssplay.co.uk/menus/latest-flyout.htmlCopyright (c) 2005-2009 Stu Nicholls. All rights reserved.This stylesheet and the associated (x)html may be modified in anyway to fit your requirements.=================================================================== */.left-menu {height:132px; width:132px; position:relative;}.left-menu ul {margin:0; padding:0; list-style:none; white-space:nowrap; text-align:left; padding:1px 1px 0 1px; background:#fff;}.left-menu li {margin:0; padding:0; list-style:none;}.left-menu li {display:inline;}.left-menu ul ul {absolute; left:-9999px;}.left-menu ul#toplevel {absolute; left:0; top:0;}.left-menu a {display:block; font:normal 11px verdana,arial,sans-serif; color:#000; line-height:22px; text-decoration:none;padding:0 20px 0 10px;}.left-menu li a.fly {background: url(anywidth/arrow.gif) no-repeat right top;}.left-menu li a:hover {background-color:#09c; color:#fff;}.left-menu li:hover > a {background-color:#09c; color:#fff;}.left-menu ul li:hover > ul {left:100%; margin-top:-23px; margin-left:-1px;}.left-menu a:hover ul,.left-menu a:hover a:hover ul,.left-menu a:hover a:hover a:hover ul {left:100%;}.left-menu a:hover ul ul,.left-menu a:hover a:hover ul ul {left:-9999px;}.left-menu table {position:absolute; left:99%; height:0; width:0; border-collapse:collapse; margin-top:-7px; margin-left:-1px;} My slideshow stylesheet is: .slideshow_container{position:relative}.slideshow_container .slideshow_overflow{position:relative;overflow:hidden}.slideshow_container .slideshow{height:100%;width:200%;overflow:hidden}.slideshow_container img{margin:0!important;padding:0!important;max-width:100%;max-height:100%;height:100%;border:0}.slideshow_container .slide{height:100%;float:left;overflow:hidden;text-align:center}.slideshow_container .transparent{zoom:1}.slideshow_container .transparent:hover{zoom:1}.slideshow_container .description{position:absolute;bottom:0;display:none;width:inherit}.slideshow_container .controlPanel{position:absolute;top:5px;left:50%;display:none}.slideshow_container .controlPanel ul{list-style:none;margin:0;padding:0}.slideshow_container .controlPanel ul li{float:left}.slideshow_container .controlPanel ul li:hover{cursor:pointer}.slideshow_container .button{padding:0;position:absolute;top:50%;cursor:pointer;display:none}.slideshow_container .previous{left:5px}.slideshow_container .next{right:5px}.slideshow_container .manufacturer{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);} If anyone has any tips / advice, I would be very grateful. Thanks, galtech
×
×
  • Create New...