#1
Отправлено 28 Октябрь 2015 - 16:10
собственно помогите реализовать такое меню. чтобы 1 пункт меню (чехлы ) осталось затем шли меню как в сайт - меню-настройка меню.
#2
Отправлено 28 Октябрь 2015 - 16:32
Autopilot-style.ru (28 Октябрь 2015 - 16:10) писал:
собственно помогите реализовать такое меню. чтобы 1 пункт меню (чехлы ) осталось затем шли меню как в сайт - меню-настройка меню.
Здравствуйте.
1) В шаблоне main.css Вам нужно добавить код:
#panelsite div.centercol .catalogheader ul li ul li { display: block; } #panelsite div.centercol .catalogheader ul li:first-child { display: block; } #panelsite div.centercol .catalogheader ul li { display: none; }
После этого напишите, произведем Вам дальнейшие изменения.
#3
Отправлено 28 Октябрь 2015 - 16:33
Autopilot-style.ru (28 Октябрь 2015 - 16:10) писал:
собственно помогите реализовать такое меню. чтобы 1 пункт меню (чехлы ) осталось затем шли меню как в сайт - меню-настройка меню.
Здравствуйте.
Попробуйте, пожалуйста, сделать следующее:
В шаблоне html найдите данный код:
<!-- Panel-Site --> <div id="panelsite"> <div class="leftcol"></div> <div class="centercol"> <div class="menuheader"> {%IFNOT catalog_full_empty%} {%FOR catalog_full%} {% IF catalog_full.FIRST %} <ul {% IF catalog_full.LEVEL = 0 %}class="navSelect menuResp nav myhidden"{% ENDIF %}> {% ENDIF %} <li {% IF catalog_full.HIDE %}style="display:none;" {% ENDIF %}{% IF catalog_full.CURRENT %}class="open"{% ELSEIF catalog_full.CURRENT_PARENT %}class="open"{% ENDIF %} > <a href="{catalog_full.URL}" {% IF catalog_full.CURRENT %}class="active selected"{% ENDIF %}> {% IF catalog_full.NAME=Audi %} <img src="http://st.autopilot-style.ru/11/1535/374/1.jpg" alt="Audi" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=BMW %} <img src="http://st.autopilot-style.ru/11/1535/375/bmw.jpg" alt="Bmw" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Chery %} <img src="http://st.autopilot-style.ru/11/1535/376/chery.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Chevrolet %} <img src="http://st.autopilot-style.ru/11/1535/377/chevrolet.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Citroen %} <img src="http://st.autopilot-style.ru/11/1535/378/citroen.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Daewoo %} <img src="http://st.autopilot-style.ru/11/1535/379/daewoo.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ford %} <img src="http://st.autopilot-style.ru/11/1535/380/ford.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Great Wall %} <img src="http://st.autopilot-style.ru/11/1535/381/greatwall.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Honda %} <img src="http://st.autopilot-style.ru/11/1535/382/honda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Hyundai %} <img src="http://st.autopilot-style.ru/11/1535/383/Hyndai.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=KIA %} <img src="http://st.autopilot-style.ru/11/1535/384/kia.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mazda %} <img src="http://st.autopilot-style.ru/11/1535/385/mazda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mercedes %} <img src="http://st.autopilot-style.ru/11/1535/386/mercedes.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mitsubishi %} <img src="http://st.autopilot-style.ru/11/1535/387/mitsubishi.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Nissan %} <img src="http://st.autopilot-style.ru/11/1535/388/nissan.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Opel %} <img src="http://st.autopilot-style.ru/11/1535/389/opel.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Peugeot %} <img src="http://st.autopilot-style.ru/11/1535/390/peugeot.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Renault %} <img src="http://st.autopilot-style.ru/11/1535/391/renault.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Skoda %} <img src="http://st.autopilot-style.ru/11/1535/393/skoda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Subaru %} <img src="http://st.autopilot-style.ru/11/1535/394/subary.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Suzuki %} <img src="http://st.autopilot-style.ru/11/1535/395/suzuki.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ssangyong %} <img src="http://st.autopilot-style.ru/11/1535/392/sangyong.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Toyota %} <img src="http://st.autopilot-style.ru/11/1535/396/toyota.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Volkswagen %} <img src="http://st.autopilot-style.ru/11/1535/398/volzwagen.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ваз %} <img src="http://st.autopilot-style.ru/11/1535/397/vaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=LandRover %} <img src="http://st.autopilot-style.ru/6/1745/058/landrover.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Lexus %} <img src="http://st.autopilot-style.ru/8/1745/018/Lexus.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Lifan %} <img src="http://st.autopilot-style.ru/7/1748/189/39811_1.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Datsun %} <img src="http://st.autopilot-style.ru/12/1745/031/Datsun.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Тагаз %} <img src="http://st.autopilot-style.ru/12/1748/679/proiz_780.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Seat %} <img src="http://st.autopilot-style.ru/9/1745/039/seat.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Fiat %} <img src="http://st.autopilot-style.ru/6/1748/231/Fiat-Logo-76.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Газ%} <img src="http://st.autopilot-style.ru/7/1745/056/gaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Dоdge%} <img src="http://st.autopilot-style.ru/9/1748/226/dodge.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Brilliance%} <img src="http://st.autopilot-style.ru/6/1748/185/brilliance_21_1311065268_full.png" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Уаз%} <img src="http://st.autopilot-style.ru/11/1745/057/uaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Samand lx%} <img src="http://st.autopilot-style.ru/12/1745/059/samand.jpg" alt="" /> {catalog_full.NAME} {% ELSE %} {catalog_full.NAME} {% ENDIF %} </a> {% IF catalog_full.ISSET_SUB=0 %}</li>{% ENDIF %} {% IF catalog_full.LAST %}{%FOR out%}</ul>{%IFNOT catalog_full.out.LAST%}</li>{%ENDIF%}{%ENDFOR%}{% ENDIF %} {%ENDFOR%} {%ENDIF%} </div> <div class="search">
И замените его вот этим вот кодом:
<!-- Panel-Site --> <div id="panelsite"> <div class="leftcol"></div> <div class="centercol"> <div class="menuheader"> {%IFNOT catalog_full_empty%} {%FOR catalog_full%} {% IF catalog_full.FIRST %} <ul {% IF catalog_full.LEVEL = 0 %}class="navSelect menuResp nav myhidden"{% ENDIF %}> {% ENDIF %} <li {% IF catalog_full.HIDE %}style="display:none;" {% ENDIF %}{% IF catalog_full.CURRENT %}class="open"{% ELSEIF catalog_full.CURRENT_PARENT %}class="open"{% ENDIF %} > <a href="{catalog_full.URL}" {% IF catalog_full.CURRENT %}class="active selected"{% ENDIF %}> {% IF catalog_full.NAME=Audi %} <img src="http://st.autopilot-style.ru/11/1535/374/1.jpg" alt="Audi" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=BMW %} <img src="http://st.autopilot-style.ru/11/1535/375/bmw.jpg" alt="Bmw" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Chery %} <img src="http://st.autopilot-style.ru/11/1535/376/chery.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Chevrolet %} <img src="http://st.autopilot-style.ru/11/1535/377/chevrolet.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Citroen %} <img src="http://st.autopilot-style.ru/11/1535/378/citroen.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Daewoo %} <img src="http://st.autopilot-style.ru/11/1535/379/daewoo.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ford %} <img src="http://st.autopilot-style.ru/11/1535/380/ford.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Great Wall %} <img src="http://st.autopilot-style.ru/11/1535/381/greatwall.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Honda %} <img src="http://st.autopilot-style.ru/11/1535/382/honda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Hyundai %} <img src="http://st.autopilot-style.ru/11/1535/383/Hyndai.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=KIA %} <img src="http://st.autopilot-style.ru/11/1535/384/kia.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mazda %} <img src="http://st.autopilot-style.ru/11/1535/385/mazda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mercedes %} <img src="http://st.autopilot-style.ru/11/1535/386/mercedes.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mitsubishi %} <img src="http://st.autopilot-style.ru/11/1535/387/mitsubishi.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Nissan %} <img src="http://st.autopilot-style.ru/11/1535/388/nissan.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Opel %} <img src="http://st.autopilot-style.ru/11/1535/389/opel.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Peugeot %} <img src="http://st.autopilot-style.ru/11/1535/390/peugeot.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Renault %} <img src="http://st.autopilot-style.ru/11/1535/391/renault.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Skoda %} <img src="http://st.autopilot-style.ru/11/1535/393/skoda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Subaru %} <img src="http://st.autopilot-style.ru/11/1535/394/subary.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Suzuki %} <img src="http://st.autopilot-style.ru/11/1535/395/suzuki.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ssangyong %} <img src="http://st.autopilot-style.ru/11/1535/392/sangyong.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Toyota %} <img src="http://st.autopilot-style.ru/11/1535/396/toyota.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Volkswagen %} <img src="http://st.autopilot-style.ru/11/1535/398/volzwagen.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ваз %} <img src="http://st.autopilot-style.ru/11/1535/397/vaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=LandRover %} <img src="http://st.autopilot-style.ru/6/1745/058/landrover.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Lexus %} <img src="http://st.autopilot-style.ru/8/1745/018/Lexus.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Lifan %} <img src="http://st.autopilot-style.ru/7/1748/189/39811_1.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Datsun %} <img src="http://st.autopilot-style.ru/12/1745/031/Datsun.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Тагаз %} <img src="http://st.autopilot-style.ru/12/1748/679/proiz_780.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Seat %} <img src="http://st.autopilot-style.ru/9/1745/039/seat.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Fiat %} <img src="http://st.autopilot-style.ru/6/1748/231/Fiat-Logo-76.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Газ%} <img src="http://st.autopilot-style.ru/7/1745/056/gaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Dоdge%} <img src="http://st.autopilot-style.ru/9/1748/226/dodge.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Brilliance%} <img src="http://st.autopilot-style.ru/6/1748/185/brilliance_21_1311065268_full.png" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Уаз%} <img src="http://st.autopilot-style.ru/11/1745/057/uaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Samand lx%} <img src="http://st.autopilot-style.ru/12/1745/059/samand.jpg" alt="" /> {catalog_full.NAME} {% ELSE %} {catalog_full.NAME} {% ENDIF %} </a> {% FOR menu %} {% FOR header %} {% FOR links %} <li {% IF menu.header.links.first %}class="main"{% ENDIF %}><a href="{menu.header.links.URL}" {% IF menu.header.links.SELECTED %}class="current"{%ENDIF%} {% IF menu.header.links.TITLE %}title="{menu.header.links.TITLE}"{% ENDIF %}>{menu.header.links.NAME}</a></li> {% ENDFOR %} {% ENDFOR %} {% ENDFOR %} {%ENDFOR%} {%ENDIF%} </div> <div class="search">
Произведите, пожалуйста, обе инструкции.
#4
Отправлено 28 Октябрь 2015 - 17:02
RayLi (28 Октябрь 2015 - 16:33) писал:
Попробуйте, пожалуйста, сделать следующее:
В шаблоне html найдите данный код:
<!-- Panel-Site --> <div id="panelsite"> <div class="leftcol"></div> <div class="centercol"> <div class="menuheader"> {%IFNOT catalog_full_empty%} {%FOR catalog_full%} {% IF catalog_full.FIRST %} <ul {% IF catalog_full.LEVEL = 0 %}class="navSelect menuResp nav myhidden"{% ENDIF %}> {% ENDIF %} <li {% IF catalog_full.HIDE %}style="display:none;" {% ENDIF %}{% IF catalog_full.CURRENT %}class="open"{% ELSEIF catalog_full.CURRENT_PARENT %}class="open"{% ENDIF %} > <a href="{catalog_full.URL}" {% IF catalog_full.CURRENT %}class="active selected"{% ENDIF %}> {% IF catalog_full.NAME=Audi %} <img src="http://st.autopilot-style.ru/11/1535/374/1.jpg" alt="Audi" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=BMW %} <img src="http://st.autopilot-style.ru/11/1535/375/bmw.jpg" alt="Bmw" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Chery %} <img src="http://st.autopilot-style.ru/11/1535/376/chery.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Chevrolet %} <img src="http://st.autopilot-style.ru/11/1535/377/chevrolet.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Citroen %} <img src="http://st.autopilot-style.ru/11/1535/378/citroen.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Daewoo %} <img src="http://st.autopilot-style.ru/11/1535/379/daewoo.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ford %} <img src="http://st.autopilot-style.ru/11/1535/380/ford.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Great Wall %} <img src="http://st.autopilot-style.ru/11/1535/381/greatwall.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Honda %} <img src="http://st.autopilot-style.ru/11/1535/382/honda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Hyundai %} <img src="http://st.autopilot-style.ru/11/1535/383/Hyndai.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=KIA %} <img src="http://st.autopilot-style.ru/11/1535/384/kia.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mazda %} <img src="http://st.autopilot-style.ru/11/1535/385/mazda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mercedes %} <img src="http://st.autopilot-style.ru/11/1535/386/mercedes.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mitsubishi %} <img src="http://st.autopilot-style.ru/11/1535/387/mitsubishi.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Nissan %} <img src="http://st.autopilot-style.ru/11/1535/388/nissan.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Opel %} <img src="http://st.autopilot-style.ru/11/1535/389/opel.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Peugeot %} <img src="http://st.autopilot-style.ru/11/1535/390/peugeot.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Renault %} <img src="http://st.autopilot-style.ru/11/1535/391/renault.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Skoda %} <img src="http://st.autopilot-style.ru/11/1535/393/skoda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Subaru %} <img src="http://st.autopilot-style.ru/11/1535/394/subary.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Suzuki %} <img src="http://st.autopilot-style.ru/11/1535/395/suzuki.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ssangyong %} <img src="http://st.autopilot-style.ru/11/1535/392/sangyong.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Toyota %} <img src="http://st.autopilot-style.ru/11/1535/396/toyota.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Volkswagen %} <img src="http://st.autopilot-style.ru/11/1535/398/volzwagen.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ваз %} <img src="http://st.autopilot-style.ru/11/1535/397/vaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=LandRover %} <img src="http://st.autopilot-style.ru/6/1745/058/landrover.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Lexus %} <img src="http://st.autopilot-style.ru/8/1745/018/Lexus.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Lifan %} <img src="http://st.autopilot-style.ru/7/1748/189/39811_1.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Datsun %} <img src="http://st.autopilot-style.ru/12/1745/031/Datsun.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Тагаз %} <img src="http://st.autopilot-style.ru/12/1748/679/proiz_780.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Seat %} <img src="http://st.autopilot-style.ru/9/1745/039/seat.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Fiat %} <img src="http://st.autopilot-style.ru/6/1748/231/Fiat-Logo-76.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Газ%} <img src="http://st.autopilot-style.ru/7/1745/056/gaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Dоdge%} <img src="http://st.autopilot-style.ru/9/1748/226/dodge.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Brilliance%} <img src="http://st.autopilot-style.ru/6/1748/185/brilliance_21_1311065268_full.png" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Уаз%} <img src="http://st.autopilot-style.ru/11/1745/057/uaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Samand lx%} <img src="http://st.autopilot-style.ru/12/1745/059/samand.jpg" alt="" /> {catalog_full.NAME} {% ELSE %} {catalog_full.NAME} {% ENDIF %} </a> {% IF catalog_full.ISSET_SUB=0 %}</li>{% ENDIF %} {% IF catalog_full.LAST %}{%FOR out%}</ul>{%IFNOT catalog_full.out.LAST%}</li>{%ENDIF%}{%ENDFOR%}{% ENDIF %} {%ENDFOR%} {%ENDIF%} </div> <div class="search">
И замените его вот этим вот кодом:
<!-- Panel-Site --> <div id="panelsite"> <div class="leftcol"></div> <div class="centercol"> <div class="menuheader"> {%IFNOT catalog_full_empty%} {%FOR catalog_full%} {% IF catalog_full.FIRST %} <ul {% IF catalog_full.LEVEL = 0 %}class="navSelect menuResp nav myhidden"{% ENDIF %}> {% ENDIF %} <li {% IF catalog_full.HIDE %}style="display:none;" {% ENDIF %}{% IF catalog_full.CURRENT %}class="open"{% ELSEIF catalog_full.CURRENT_PARENT %}class="open"{% ENDIF %} > <a href="{catalog_full.URL}" {% IF catalog_full.CURRENT %}class="active selected"{% ENDIF %}> {% IF catalog_full.NAME=Audi %} <img src="http://st.autopilot-style.ru/11/1535/374/1.jpg" alt="Audi" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=BMW %} <img src="http://st.autopilot-style.ru/11/1535/375/bmw.jpg" alt="Bmw" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Chery %} <img src="http://st.autopilot-style.ru/11/1535/376/chery.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Chevrolet %} <img src="http://st.autopilot-style.ru/11/1535/377/chevrolet.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Citroen %} <img src="http://st.autopilot-style.ru/11/1535/378/citroen.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Daewoo %} <img src="http://st.autopilot-style.ru/11/1535/379/daewoo.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ford %} <img src="http://st.autopilot-style.ru/11/1535/380/ford.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Great Wall %} <img src="http://st.autopilot-style.ru/11/1535/381/greatwall.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Honda %} <img src="http://st.autopilot-style.ru/11/1535/382/honda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Hyundai %} <img src="http://st.autopilot-style.ru/11/1535/383/Hyndai.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=KIA %} <img src="http://st.autopilot-style.ru/11/1535/384/kia.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mazda %} <img src="http://st.autopilot-style.ru/11/1535/385/mazda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mercedes %} <img src="http://st.autopilot-style.ru/11/1535/386/mercedes.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Mitsubishi %} <img src="http://st.autopilot-style.ru/11/1535/387/mitsubishi.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Nissan %} <img src="http://st.autopilot-style.ru/11/1535/388/nissan.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Opel %} <img src="http://st.autopilot-style.ru/11/1535/389/opel.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Peugeot %} <img src="http://st.autopilot-style.ru/11/1535/390/peugeot.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Renault %} <img src="http://st.autopilot-style.ru/11/1535/391/renault.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Skoda %} <img src="http://st.autopilot-style.ru/11/1535/393/skoda.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Subaru %} <img src="http://st.autopilot-style.ru/11/1535/394/subary.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Suzuki %} <img src="http://st.autopilot-style.ru/11/1535/395/suzuki.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ssangyong %} <img src="http://st.autopilot-style.ru/11/1535/392/sangyong.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Toyota %} <img src="http://st.autopilot-style.ru/11/1535/396/toyota.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Volkswagen %} <img src="http://st.autopilot-style.ru/11/1535/398/volzwagen.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Ваз %} <img src="http://st.autopilot-style.ru/11/1535/397/vaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=LandRover %} <img src="http://st.autopilot-style.ru/6/1745/058/landrover.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Lexus %} <img src="http://st.autopilot-style.ru/8/1745/018/Lexus.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Lifan %} <img src="http://st.autopilot-style.ru/7/1748/189/39811_1.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Datsun %} <img src="http://st.autopilot-style.ru/12/1745/031/Datsun.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Тагаз %} <img src="http://st.autopilot-style.ru/12/1748/679/proiz_780.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Seat %} <img src="http://st.autopilot-style.ru/9/1745/039/seat.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Fiat %} <img src="http://st.autopilot-style.ru/6/1748/231/Fiat-Logo-76.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Газ%} <img src="http://st.autopilot-style.ru/7/1745/056/gaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Dоdge%} <img src="http://st.autopilot-style.ru/9/1748/226/dodge.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Brilliance%} <img src="http://st.autopilot-style.ru/6/1748/185/brilliance_21_1311065268_full.png" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Уаз%} <img src="http://st.autopilot-style.ru/11/1745/057/uaz.jpg" alt="" /> {catalog_full.NAME} {% ELSEIF catalog_full.NAME=Samand lx%} <img src="http://st.autopilot-style.ru/12/1745/059/samand.jpg" alt="" /> {catalog_full.NAME} {% ELSE %} {catalog_full.NAME} {% ENDIF %} </a> {% FOR menu %} {% FOR header %} {% FOR links %} <li {% IF menu.header.links.first %}class="main"{% ENDIF %}><a href="{menu.header.links.URL}" {% IF menu.header.links.SELECTED %}class="current"{%ENDIF%} {% IF menu.header.links.TITLE %}title="{menu.header.links.TITLE}"{% ENDIF %}>{menu.header.links.NAME}</a></li> {% ENDFOR %} {% ENDFOR %} {% ENDFOR %} {%ENDFOR%} {%ENDIF%} </div> <div class="search">
Произведите, пожалуйста, обе инструкции.
MikDark (28 Октябрь 2015 - 16:32) писал:
1) В шаблоне main.css Вам нужно добавить код:
#panelsite div.centercol .catalogheader ul li ul li { display: block; } #panelsite div.centercol .catalogheader ul li:first-child { display: block; } #panelsite div.centercol .catalogheader ul li { display: none; }
После этого напишите, произведем Вам дальнейшие изменения.
осталась только 1 категория(
#5
Отправлено 28 Октябрь 2015 - 17:13
Autopilot-style.ru (28 Октябрь 2015 - 17:02) писал:
осталась только 1 категория(
Тогда сделайте, пожалуйста, следующее:
В шаблоне html найдите данный код:
{catalog_full.NAME} {% ENDIF %} </a> {% FOR menu %} {% FOR header %} {% FOR links %} <li {% IF menu.header.links.first %}class="main"{% ENDIF %}><a href="{menu.header.links.URL}" {% IF menu.header.links.SELECTED %}class="current"{%ENDIF%} {% IF menu.header.links.TITLE %}title="{menu.header.links.TITLE}"{% ENDIF %}>{menu.header.links.NAME}</a></li> {% ENDFOR %} {% ENDFOR %} {% ENDFOR %} {% IF catalog_full.ISSET_SUB=0 %}</li>{% ENDIF %} {% IF catalog_full.LAST %}{%FOR out%}</ul>{%IFNOT catalog_full.out.LAST%}</li>{%ENDIF%}{%ENDFOR%}{% ENDIF %} {%ENDFOR%} {%ENDIF%} </div> <div class="search">
И замените его вот этим вот кодом:
{catalog_full.NAME} {% ENDIF %} </a> {%ENDFOR%} {% FOR menu %} {% FOR header %} {% FOR links %} <li {% IF menu.header.links.first %}class="main"{% ENDIF %}><a href="{menu.header.links.URL}" {% IF menu.header.links.SELECTED %}class="current"{%ENDIF%} {% IF menu.header.links.TITLE %}title="{menu.header.links.TITLE}"{% ENDIF %}>{menu.header.links.NAME}</a></li> {% ENDFOR %} {% ENDFOR %} {% ENDFOR %} {%ENDIF%} </div> <div class="search">
#6
Отправлено 28 Октябрь 2015 - 18:17
RayLi (28 Октябрь 2015 - 17:13) писал:
В шаблоне html найдите данный код:
{catalog_full.NAME} {% ENDIF %} </a> {% FOR menu %} {% FOR header %} {% FOR links %} <li {% IF menu.header.links.first %}class="main"{% ENDIF %}><a href="{menu.header.links.URL}" {% IF menu.header.links.SELECTED %}class="current"{%ENDIF%} {% IF menu.header.links.TITLE %}title="{menu.header.links.TITLE}"{% ENDIF %}>{menu.header.links.NAME}</a></li> {% ENDFOR %} {% ENDFOR %} {% ENDFOR %} {% IF catalog_full.ISSET_SUB=0 %}</li>{% ENDIF %} {% IF catalog_full.LAST %}{%FOR out%}</ul>{%IFNOT catalog_full.out.LAST%}</li>{%ENDIF%}{%ENDFOR%}{% ENDIF %} {%ENDFOR%} {%ENDIF%} </div> <div class="search">
И замените его вот этим вот кодом:
{catalog_full.NAME} {% ENDIF %} </a> {%ENDFOR%} {% FOR menu %} {% FOR header %} {% FOR links %} <li {% IF menu.header.links.first %}class="main"{% ENDIF %}><a href="{menu.header.links.URL}" {% IF menu.header.links.SELECTED %}class="current"{%ENDIF%} {% IF menu.header.links.TITLE %}title="{menu.header.links.TITLE}"{% ENDIF %}>{menu.header.links.NAME}</a></li> {% ENDFOR %} {% ENDFOR %} {% ENDFOR %} {%ENDIF%} </div> <div class="search">
сделал все равно не работает
#8
Отправлено 28 Октябрь 2015 - 18:47
#10
Отправлено 28 Октябрь 2015 - 19:51
Autopilot-style.ru (28 Октябрь 2015 - 19:42) писал:
Сделайте, пожалуйста, следующее:
В шаблоне main.css найдите данный код:
ul.menuh li a { color: #666; display: inline-block; font-size: 14px; line-height: 1.1em; padding: 10px 10px 15px 0px; text-align: left; text-decoration: none; white-space: nowrap; margin-top: -5px; }
И замените го вот этим вот кодом:
ul.menuh li a { color: #666; display: inline-block; font-size: 14px; line-height: 1.1em; padding: 10px 10px 10px 10px; text-align: left; text-decoration: none; white-space: nowrap; margin-top: -5px; }
#11
Отправлено 28 Октябрь 2015 - 19:57
RayLi (28 Октябрь 2015 - 19:51) писал:
В шаблоне main.css найдите данный код:
ul.menuh li a { color: #666; display: inline-block; font-size: 14px; line-height: 1.1em; padding: 10px 10px 15px 0px; text-align: left; text-decoration: none; white-space: nowrap; margin-top: -5px; }
И замените го вот этим вот кодом:
ul.menuh li a { color: #666; display: inline-block; font-size: 14px; line-height: 1.1em; padding: 10px 10px 10px 10px; text-align: left; text-decoration: none; white-space: nowrap; margin-top: -5px; }
не вышло я все сломал((((
#12
Отправлено 28 Октябрь 2015 - 20:13
Autopilot-style.ru (28 Октябрь 2015 - 19:57) писал:
Сделайте, пожалуйста, следующее:
В самый конец шаблона main.css добавьте данный код:
ul.menuh li a { color: #666; display: inline-block; font-size: 14px; line-height: 1.1em; padding: 10px 10px 10px 10px; text-align: left; text-decoration: none; white-space: nowrap; margin-top: -5px; } ul.menuh li {padding:0 10px;}
#13
Отправлено 28 Октябрь 2015 - 20:15
RayLi (28 Октябрь 2015 - 20:13) писал:
В самый конец шаблона main.css добавьте данный код:
ul.menuh li a { color: #666; display: inline-block; font-size: 14px; line-height: 1.1em; padding: 10px 10px 10px 10px; text-align: left; text-decoration: none; white-space: nowrap; margin-top: -5px; } ul.menuh li {padding:0 10px;}
у меня теперь 2 меню старое и новое((((
#16
Отправлено 06 Ноябрь 2015 - 14:30
#18
Отправлено 09 Ноябрь 2015 - 14:57
MikDark (06 Ноябрь 2015 - 18:34) писал:
<meta http-equiv="X-UA-Compatible" content="IE=7" />
Не подскажите как выравнивать заголовки ? Извините за наглость, но очень хочется работать на вашей системе , а поломать все не хочется(
#19
Отправлено 09 Ноябрь 2015 - 15:26
Autopilot-style.ru (09 Ноябрь 2015 - 14:57) писал:
Не подскажите как выравнивать заголовки ? Извините за наглость, но очень хочется работать на вашей системе , а поломать все не хочется(
Снимок3.JPG
В main.css найдите код
#panelsite div.centercol .menuheader ul li { background: url("http://design.autopilot-style.ru/menuheaderline.jpg?design=plastic") no-repeat scroll 0 1px rgba(0, 0, 0, 0); float: left; margin: 0; padding-left: 10px; width: 130px; z-index: 45; }и замените на
#panelsite div.centercol .menuheader ul li { background: url("http://design.autopilot-style.ru/menuheaderline.jpg?design=plastic") no-repeat scroll 0 1px rgba(0, 0, 0, 0); float: left; margin: 0; padding-left: 10px; z-index: 45; }Так же найдите
#panelsite div.centercol .menuheader ul li.main { background: none; }и замените на
ul.navSelect.menuResp.nav.myhidden.catalogheader li:first-child { background: none !Important; }найдите
.menuResp a { color: #666; display: inline-block; font-size: 16px; line-height: 1.1em; padding: 10px 10px 15px 0px; text-align: center; text-decoration: none; white-space: nowrap; margin-top: -5px; }и замените на
.menuResp a { color: #666; display: inline-block; font-size: 16px; line-height: 1.1em; padding: 10px 10px 15px 10px; text-align: center; text-decoration: none; white-space: nowrap; margin-top: -5px; }
#20
Отправлено 09 Ноябрь 2015 - 16:19
Danil (09 Ноябрь 2015 - 15:26) писал:
В main.css найдите код
#panelsite div.centercol .menuheader ul li { background: url("http://design.autopilot-style.ru/menuheaderline.jpg?design=plastic") no-repeat scroll 0 1px rgba(0, 0, 0, 0); float: left; margin: 0; padding-left: 10px; width: 130px; z-index: 45; }и замените на
#panelsite div.centercol .menuheader ul li { background: url("http://design.autopilot-style.ru/menuheaderline.jpg?design=plastic") no-repeat scroll 0 1px rgba(0, 0, 0, 0); float: left; margin: 0; padding-left: 10px; z-index: 45; }Так же найдите
#panelsite div.centercol .menuheader ul li.main { background: none; }и замените на
ul.navSelect.menuResp.nav.myhidden.catalogheader li:first-child { background: none !Important; }найдите
.menuResp a { color: #666; display: inline-block; font-size: 16px; line-height: 1.1em; padding: 10px 10px 15px 0px; text-align: center; text-decoration: none; white-space: nowrap; margin-top: -5px; }и замените на
.menuResp a { color: #666; display: inline-block; font-size: 16px; line-height: 1.1em; padding: 10px 10px 15px 10px; text-align: center; text-decoration: none; white-space: nowrap; margin-top: -5px; }
А анимация убирается при нажатии на заголовок?
Темы с аналогичным тегами меню
Вопросы работы сервиса StoreLand →
Другие вопросы →
Изменение Url'a Ссылки Навигационного МенюАвтор Гость_smoke_story_* , 05 нояб. 2019 Навигация, Меню и 4 еще... |
|
|||
Вопросы работы сервиса StoreLand →
Дизайн →
Шаблон Лазурь →
Каталог товаров →
Сделать Выпадающее МенюАвтор Гость_arpico-latex_* , 16 янв. 2019 выпадающее, меню |
|
|||
Вопросы работы сервиса StoreLand →
Дизайн →
Шаблон Осень →
Нужна Помощь Редактировании Шаблона ОсеньАвтор Гость_Olga1215_* , 16 нояб. 2018 осень, шапка, фон сайта и 4 еще... |
|
|||
Вопросы работы сервиса StoreLand →
Дизайн →
Шаблон Весна →
Другое →
Убрать Строку-Меню Перед ПодваломАвтор Гость_Olivka_* , 14 июня 2018 подвал, меню |
|
|||
Вопросы работы сервиса StoreLand →
Дизайн →
Шаблон Лазурь →
Помощь По ВерсткиАвтор Гость_akhmanaev666_* , 13 июня 2018 меню, лазурь, описание товара |
|
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных