رفتن به مطلب

یک css برای منوی بالای سایت مشابه سایت برترین ها یا yjc


پست های پیشنهاد شده

سلام

دوستان مشابه سایت برترین ها(bartarinha.ir) یا yjc.ir برای این تابع یه css میخوام.


<?php wp_list_categories($args); ?>

افکتش واجب نیست فقط نوع قرار گرفتن زیر دسته ها برام مهم هست ممنونم.

ممنون از لطف شما.

لینک به ارسال

فقط شبیهش باشه یعنی وقتی موس میره روش زیر دسته ها رو پایینش نشون بده. فقط در همین حد.

لینک به ارسال

اگر منظورتون منوی بالا میباشد که با اون تابع نمیشه باید با هرست ایجادش کرد


#nav3{width: 980px;position:relative;overflow: hidden;background: url('/client/themes/fa/main/img/btn_t_nav_01.gif') repeat-x 0px 0px;}#nav3 ul {padding: 0px;margin: 0px;list-style-type: none;}#nav3 li {float: right;margin: 0px;color:#000;font-size: 10px;}#nav3 li.nav_link {float: right;margin: 0px;color:#000;font-size: 10px;background: url('/client/themes/fa/main/img/btn_t_nav_01.gif') no-repeat 0px 0px;padding-left: 5px;}#nav3 li.li_active {background-position: 0px -58px;}#nav3 li.li_over {color:#ffffff;background-position: 0px -29px; }#nav3 li a {text-decoration: none;}#nav3 li a span{background: url('/client/themes/fa/main/img/btn_t_nav_02.gif') no-repeat 0px 0px;padding: 7px 5px 6px 5px;font-size: 11px;color:#000000;line-height:27px;padding-left: 0px;padding-left: 0px !important;padding-left: 5px;padding-right: 5px !important;padding-right: 0px;}#nav3 li a span.span_active{background-position: 100% -58px;padding-bottom: 7px;padding-left: 0px !important;padding-left: 5px;padding-right: 5px !important;padding-right: 0px;}#nav3 li span.span_over{background: url('/client/themes/fa/main/img/btn_t_nav_02.gif') no-repeat;background-position: 100% -29px;color: #ffffff;}#nav3 li a:hover {text-decoration: none;}.subnav3 {width: 980px;height: 27px;overflow: hidden;margin: 0;background: url('/client/themes/fa/main/img/bg_sub_nav.gif') repeat-x;}.subnav3 ul {padding: 0px;margin: 0px;list-style-type: none;}.subnav3 li {float: right;margin: 0px;color:#000;font-size: 10px;}.subnav3 li a {font-size: 11px;color: #000000;padding-left: 1em;padding-right: 1em;display: block;text-decoration: none;line-height: 25px;}.subnav3 li a:hover{text-decoration: none;}.block_1{width: 150px;}.block_1_t{font-size: 12px;width: 159px;height: 37px;padding-right:40px;line-height:34px;background: url('/client/themes/fa/main/img/r_sar.gif') no-repeat;}.block_1_b{width: 148px;border-right: 1px solid #cdcdcd;border-left: 1px solid #cdcdcd;}.block_1_f{width: 199px;height: 7px;}.block_1_footer_border{width: 185px;height: 6px;float:right;border-bottom: 1px solid #cdcdcd;overflow: hidden;}.r_section_title {padding-right: 40px;padding-top: 13px;}.r_section_title h3 {font: 11px tahoma;}.l_box {width: 240px;margin-bottom: 8px;}.l_box_title {width: 205px;height: 24px;padding-top: 13px;padding-right: 35px;direction: rtl;}.l_column_content{direction: rtl;}.l_box_body {width: 226px;border-left: 1px solid #ababab;border-right: 1px solid #ababab;padding: 6px;}.block_3{width: 670px;margin-bottom: 8px;}.block_3_t{width: 670px;height: 37px;line-height:34px;background: url('/client/themes/fa/main/img/inn_t_bg_sar.gif') repeat-x;}.block_3_t_t{width: 623px;height: 37px;padding-right:40px;float: right;background: url('/client/themes/fa/main/img/inn_t_r_sar.gif') no-repeat top right;position: relative;}.block_3_b{width: 668px;padding:10px 0px 10px 0px;border-right: 1px solid #cdcdcd;border-left: 1px solid #cdcdcd;}.block_3_f{width: 670px;height: 7px;}.block_3_footer_border{width: 656px;height: 6px;float:right;border-bottom: 1px solid #cdcdcd;overflow: hidden;}.block_4{width: 312px;float: right;margin-left: 8px;margin-bottom: 8px;}.block_4_t{width: 312px;height: 37px;line-height:34px;background: url('/client/themes/fa/main/img/inn_t_bg_sar.gif') repeat-x;}.block_4_t_t{width: 265px;height: 37px;padding-right:40px;float: right;background: url('/client/themes/fa/main/img/inn_t_r_sar.gif') no-repeat top right;}.block_4_b{width: 288px;padding:10px 10px 10px 12px;border-right: 1px solid #cdcdcd;border-left: 1px solid #cdcdcd;}.block_4_f{width: 312px;height: 7px;}.block_4_footer_border{width: 298px;height: 6px;float:right;border-bottom: 1px solid #cdcdcd;overflow: hidden;}.block_5{width: 350px;float: right;margin-bottom: 8px;}.block_5_t{width: 345px;height: 31px;line-height:30px;padding-right: 5px;background: url('/client/themes/fa/main/img/inn_r_tab.gif') no-repeat right;}.block_5_t_sar {width: 340px;height: 31px;float: right;background: url('/client/themes/fa/main/img/inn_c_tab.gif') repeat-x;}.block_5_t_t{width: 303px;height: 37px;padding-right:40px;float: right;background: url('/client/themes/fa/main/img/inn_t_r_sar.gif') no-repeat top right;}.block_5_b{width: 326px;padding:10px 10px 10px 12px;border-right: 1px solid #cdcdcd;border-left: 1px solid #cdcdcd;}.block_5_f{width: 350px;height: 7px;}.block_5_footer_border{width: 336px;height: 6px;float:right;border-bottom: 1px solid #cdcdcd;overflow: hidden;}.block_6{width: 330px;float: right;}.block_6_t{width: 330px;height: 37px;line-height:37px;background: url('/client/themes/fa/main/img/inn_t_bg_sar.gif') repeat-x;}.block_6_t_t{width: 323px;height: 37px;text-indent:40px;float: right;background: url('/client/themes/fa/main/img/inn_t_r_sar.gif') no-repeat top right;}.block_6_b{width: 308px;padding:10px;border-right: 1px solid #cdcdcd;border-left: 1px solid #cdcdcd;}.block_6_f{width: 330px;height: 7px;overflow: hidden;}.block_6_footer_border{width: 316px;height: 6px;float:right;border-bottom: 1px solid #cdcdcd;overflow: hidden;}.btn_tab{height: 31px;padding-right: 30px;display: block;float: right;color: #818181;line-height: 25px;font-size: 12px;cursor: pointer;}.btn_tab_active{background-position: 0px -33px;color: #000;}#btn_tab_1{width: 82px;margin-left: 5px;padding-right: 27px;background: url('/client/themes/fa/main/img/tab1.gif') no-repeat 0px 0px;}#btn_tab_2{width: 80px;background: url('/client/themes/fa/main/img/tab2.gif') no-repeat 0px 0px;overflow: hidden;}.btn_tab_container {width:230px;height: 31px;background: url('/client/themes/fa/main/img/c_tab.gif') repeat-x;}#btn_tab_3{width: 82px;padding-right: 27px;margin-left: 5px;background: url('/client/themes/fa/main/img/inn_tab.gif') no-repeat 0px 0px;}#btn_tab_4{width: 80px;background: url('/client/themes/fa/main/img/inn_tab.gif') no-repeat 0px 0px;}.btn_tab_container_2 {width:230px;height: 31px;background: url('/client/themes/fa/main/img/inn_c_tab.gif') repeat-x;}.search_container{width: 188px;height: 29px;float: right;}.r_search {float: right;}.btn_search {float: right;}.bg_search {width: 123px;float: right;}.header_search{width: 225px;height: 21px;position:absolute;left:8px;top:4px;z-index:9999;}.search_form{width: 123px;height: 21px;display: block;padding: 0px;margin: 0px;border: 0px;background: transparent;}.search_input {width: 123px;height: 21px;display: block;border: 0px;padding: 0px;margin: 0px !important;margin-top: -1px;font: 11px tahoma;line-height:21px;background: transparent;padding-top: 3px;outline: 0px;}.search_btn{width: 34px;height: 30px;text-decoration: none;display: block;background: url('/client/themes/fa/main/img/search.gif') no-repeat top;float: right;margin-top: 10px;}.search_btn:hover{background-position: 0px -32px;}.search_btn:active{background-position: 0px -64px;}.news_nav {font: normal 11px tahoma;color: #868686;text-decoration: none}.news_nav_title {font: normal 11px tahoma;color: #868686;text-decoration: none}.news_nav_toolbar {font: normal 11px tahoma;color: #000;text-decoration: none;cursor: pointer}.news_nav_toolbar:HOVER {color: #000;}#pager {font-family: tahoma;font-size: 11px;font-style: normal;line-height: normal;font-weight: normal;color: black;margin: 5px 0px 3px}#pager a {padding-right: 3px;padding-left: 3px;background-color: #999;font: 12px tahoma;font-weight: 600;color: white;text-decoration: none}#pager a:hover {color: white;background-color: #666}.search {width: 140px;padding-right: 0px;}.searchNav {font: 12px tahoma, Arial;color: black;background-color: #FFF;margin-top: 5px;border: 1px solid #CFCFCF;height: 25px;}.search_result {font: 15px 'Times New Roman', tahoma, Arial;color: #004B97;text-decoration: none;font-weight: bold}.search_result:hover {color: #bb0003}.search_result:active {color: #3047A0}.search_result:visited {color: #3047A0}.summerize {font: normal 13px arial;color: #3A3A3D}.poll_title {font: bold 14px arial;color: #160bb1;direction: rtl;}.poll_options {font: 12px Tahoma;color: #000;font-weight: normal;}.poll_text {font: 12px Tahoma;color: #000;font-weight: normal;text-decoration: none;}.poll_bar_outter {border: 1px solid #1560BD;height: 11px;overflow:hidden}.poll_bar_inner {background-color: #1560BD;height: 11px;}.poll_percent {font: 10px Tahoma;color: #7F7F7F;font-weight: normal;}.service_col1 {width: 588px;margin-left: 8px;float: right;}.service_col3 {width: 130px;float: left;}.service_r_t {width: 570px;height: 8px;border-top: 1px solid #E7E7E7;float: right;}.service_r_b {width: 570px;height: 8px;border-bottom: 1px solid #E7E7E7; float: right;}.service_r_c {width: 556px;padding: 10px 15px;border-right: 1px solid #E7E7E7;border-left: 1px solid #E7E7E7;}.txt_adv_title{text-align: center;direction: rtl;background-color: #C30003;font: 12px tahoma;height: 20px;padding-top: 2px;margin-bottom: 2px;color: #FFF;}.txt_adv_content{font: normal 12px tahoma;margin-bottom: 5px;text-align: center;direction: rtl;border: 1px solid #CDCDCD;background-color: #FFF;padding: 5px;}.inner_c_col4{width: 966px;}.rss_lists_container{ width: 618px; float: right; margin-left: 20px; padding-right: 25px;}.rss_def_c{ width: 300px; float: right;}.rss_def{width: 262px;border: 1px solid #E5E5E5;padding: 18px;font: 11px tahoma;text-align: justify;}.rss_def_title{ font: bold 14px arial; text-align: center; width: 100%;}.rss_def_content{ width: 100%; padding-top: 10px; line-height: 130%;}.rss_list_title{font: bold 14px arial;margin-bottom: 10px;}.inner_cont_box{padding: 10px;border-bottom: 1px solid #909090;}.rss_list_link{font: 11px tahoma;color: #000;text-decoration: none;direction: ltr;float: right;text-align: left;width: 420px;padding-bottom: 5px;text-align: left;}.tags_container{width: 652px;margin-bottom: 30px;} .tags_title{width: 652px;font: 11px tahoma;background: url('/client/themes/fa/main/img/tag.gif') no-repeat right;text-indent: 20px;color: #000;line-height: 180%;text-align: right;direction: rtl;}.tags_item{font: 11px tahoma;color: #122D92;text-decoration: none;outline: none;}.archive_form, .search_form2{border:1px solid #CFCFCF;background:#E9E9E9;direction: rtl;}.archive_form div, .search_form2 div{padding: 3px;}.archive_form div span, .search_form2 div span{margin: 3px 10px 3px 20px;}.news_archive_container{width: 688px;float: right;}.archive_page_container{ direction:rtl; text-align:right; width:688px;}.archive_content{ direction:rtl; text-align:right; width:688px; padding: 5px 0px;}.search_result_container, .search_result_nav{width: 688px;}.error_container {padding :170px;text-align: center;font: bold 14px arial;}.service_container {}.ser_right {float: right;overflow: hidden;}.ser_left {float: left;overflow: hidden;}.service_content {border-left: 1px solid #ababab;border-right: 1px solid #ababab;padding: 15px;width: 388px;}.c_link_title2 {color: #170bb5;font: bold 15px arial;text-decoration: none;direction: rtl;}.c_link_title2:hover {color: #ffa608;}#cpager {width: 56px;margin: auto;}#cpager input {border: 1px solid silver;}.inner_content {border-left: 1px solid #ababab;border-right: 1px solid #ababab;padding: 15px;width: 656px;}.news_lead_top {height: 8px;background: url('/client/themes/fa/main/img/news_l_t_bg.gif') repeat-x;}.news_lead_bottom {height: 8px;background: url('/client/themes/fa/main/img/news_l_b_bg.gif') repeat-x;}.news_top_right {float: right;overflow: hidden;width: 8px;height: 8px;background: url('/client/themes/fa/main/img/inn_t_r_lid.gif');}.news_top_left {float: left;overflow: hidden;width: 8px;height: 8px;background: url('/client/themes/fa/main/img/inn_t_l_lid.gif');}.news_bottom_right {float: right;overflow: hidden;width: 8px;height: 8px;background: url('/client/themes/fa/main/img/inn_b_r_lid.gif');}.news_bottom_left {float: left;overflow: hidden;width: 8px;height: 8px;background: url('/client/themes/fa/main/img/inn_b_l_lid.gif');}.news_col_1 {width: 130px;float: right;margin-left: 8px;border-bottom: 1px solid #ffffff;margin-bottom: 8px;}.news_col_2 {width: 688px;float: right;margin-left: 8px;margin-bottom: 8px;}.news_content_body {border-left: 1px solid #ababab;border-right: 1px solid #ababab;padding-left: 15px;padding-right: 15px;width: 656px;overflow: hidden;}.news_col_3 {width: 130px;float: right;border-bottom: 1px solid #ffffff;margin-bottom: 8px;}.news_subtitle {border-left: 1px solid #d2d2d2;border-right: 1px solid #d2d2d2;background-color: #f4f4f4;padding: 15px;color: #000000;}.news_bottom_home {cursor:pointer;float: right;background: url('/client/themes/fa/main/img/home.gif') 100% 0px no-repeat;text-indent: 20px;width: 125px;}.news_bottom_print {cursor:pointer;float: right;background: url('/client/themes/fa/main/img/print.gif') 100% 0px no-repeat;text-indent: 20px;width: 100px;}.news_bottom_send {cursor:pointer;float: right;background: url('/client/themes/fa/main/img/email.gif') 100% 0px no-repeat;text-indent: 20px;width: 125px;}.new_bottom_c {float: right;width: 323px;}.news_c_content {border-left: 1px solid #CACACA;border-right: 1px solid #CACACA;padding: 15px;overflow: hidden;width: 291px;}.comments_body {border-left: 1px solid #CACACA;border-right: 1px solid #CACACA;overflow: hidden;width: 654px;padding-top: 15px;}.news_tab_item {color: #828282;text-decoration: none;}.news_tab_item_active {color: #000000;text-decoration: none;}.news_tab_item:HOVER {color: #828282;}.news_tab_item_active:HOVER {color: #000000;}.adv_g{width: 130px;}.pezeshkan_sar {width: 150px;height:37px;background: url('/client/themes/fa/main/img/t_r_sar_2.gif') no-repeat;}.varzeshi_sar {width: 240px;height:37px;background: url('/client/themes/fa/main/img/t_l_sar_3.gif') no-repeat;}.poll_sar {width: 240px;height:37px;background: url('/client/themes/fa/main/img/t_l_sar_nazar.gif') no-repeat;}.jalebtarinha_sar {width: 240px;height:37px;background: url('/client/themes/fa/main/img/t_l_sar_4.gif') no-repeat;}.l_box_title_v{height: 24px;padding-right: 52px;padding-top: 13px;width: 188px;direction: rtl;}.l_box_title_j{height: 24px;padding-right: 42px;padding-top: 13px;width: 198px;direction: rtl;}.tab_akhbar_rooz {width: 240px;height: 37px;background: url('/client/themes/fa/main/img/t_tab_2.gif') no-repeat 0px 0px;}.dot_s.between_r_sar2{ background: #CDCDCD;width: 148px; height: 1px;overflow: hidden;margin: 8px 0px;}.submenu_outer{width: 980px;height: 26px;border-bottom: 1px solid #bababa;background: #E3E3E3;overflow: hidden;}.submenu{width: 830px;height: 26px;overflow: hidden;float: right;margin-left: 10px;}.cat_nav{width: 100%;height: 100%;}.cat_nav ul.ul_cat_nav {display: none;list-style-type: none;margin: 0;padding: 0;}.ul_cat_nav li {color: #646464;float: right;font: 11px/25px tahoma;margin: 0;padding: 0px 5px;}.ul_cat_nav li a {color: #646464;font: 11px/25px tahoma;padding: 0;text-decoration: none;}.ul_cat_nav li span {display: block;font: 13px/30px tahoma;height: 30px;margin: 0;padding: 0;width: 1px;}.ul_cat_nav li a.current_nav_c, .ul_cat_nav li a:hover {color: #1f68c4;}#nav3 li.current_nav_s{background: url('/client/themes/fa/main/img/btn_t_nav_01.gif') no-repeat ;background-position: 0px -58px;color: #000000;float: right;font-size: 10px;margin: 0;padding-left: 5px;}#nav3 li.current_nav_s span.current_nav_s2{background: url('/client/themes/fa/main/img/btn_t_nav_02.gif') no-repeat;background-position: 0px -58px;color: #000000;font-size: 11px;line-height: 27px;padding-bottom: 7px;padding-left: 0 !important;padding-right: 5px !important;padding-top: 7px;}

لینک به ارسال

فهرست منظور شماست؟ چطوری این css ها رو بهش بدم؟

ویرایش شده توسط حمیدرضا
لینک به ارسال

ممنون میشم کمکم کنید .

فقط وقتی موس روش رفت زیر منوش زیرش بیاد.هیچ افکتی نمیخوام.

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...