Re: Winchester Responsive
Quote:
Originally Posted by
jennydutch
hi... i want copy only header from (westmister_new) to this template please help .. i want add this header to this template
Attachment 14149 (this header From westmister_new template )
in the common/ folder you will see 3 header files. Find the block of code that you want added to this template for all 3 files. But also remember to pull out each css instance in the 4 stylesheets that reference the div and elements you are moving over.
Is it the top navigation links you want?
Re: Winchester Responsive
Quote:
Originally Posted by
yaritai
in the common/ folder you will see 3 header files. Find the block of code that you want added to this template for all 3 files. But also remember to pull out each css instance in the 4 stylesheets that reference the div and elements you are moving over.
Is it the top navigation links you want?
Yes, this is exactly what you would need to do. You will also need to add the code for the currencies and languages header boxes if you want this functionality.
Thanks,
Anne
Editing Header Menu Links and Removing Shopping Cart from Top of Screen
I have searched the code and forums all night, so I decided to ask. Questions 1, 2, & 3 are all about the header menu. Question 4 is about the shopping cart link at the top.
1. I need the categories under the Categories Tab (in the header) to be wider. Which file do I need to find to edit the width of that drop-down categories menu?
2. I need to get rid of the other drop-down tab, "Information," in the header menu and make a new link without a drop-down menu to go to just one page. Where do I find that file?
3. I need to add "Home" to the header menu. Where do I find that file?
4. Is there a way to get rid of the cart at the top of the screen? I tried to do so with the Tools, Layout Boxes Controller, but evidently that is not where I need to look, so which file do I need to edit and what do I need to remove?
Thanks! :-)
Re: Editing Header Menu Links and Removing Shopping Cart from Top of Screen
Quote:
Originally Posted by
CookieMonster
I have searched the code and forums all night, so I decided to ask. Questions 1, 2, & 3 are all about the header menu. Question 4 is about the shopping cart link at the top.
1. I need the categories under the Categories Tab (in the header) to be wider. Which file do I need to find to edit the width of that drop-down categories menu?
2. I need to get rid of the other drop-down tab, "Information," in the header menu and make a new link without a drop-down menu to go to just one page. Where do I find that file?
3. I need to add "Home" to the header menu. Where do I find that file?
4. Is there a way to get rid of the cart at the top of the screen? I tried to do so with the Tools, Layout Boxes Controller, but evidently that is not where I need to look, so which file do I need to edit and what do I need to remove?
Thanks! :-)
If you post a link to your site I can take a look.
1 and 4 are css questions. If you will be making css changes to the template I strongly recommend using the chrome or firefox web developer tools. They will help you find the exact line of the exact file that you need to edit and you can test your edits in real time without reloading the page.
2 and 3 you will edit includes/templates/winchester_responsive/templates/tpl_modules_mobile_categories_tabs.php
Thanks,
Anne
Re: Winchester Responsive
Quote:
Originally Posted by
picaflor-azul
rbarbour, thank you so much for your help with this! The php mobile detect should be working 100% now thanks to the edits made by rbarbour :smile:
I am in the process of packaging up all of the changes and other found bugs and will be submitting an update later today.
Thanks,
Anne
So this needs to be added to ALL your Responsive Templates? Thanks!
Re: Winchester Responsive
Quote:
Originally Posted by
uswebworx
So this needs to be added to ALL your Responsive Templates? Thanks!
Only the templates using the new code that includes the $_SESSION for switching between devices. 3.0-Beta completely eliminates the need to include the php-mobile-detect if statements in individual files all together!
Re: Winchester Responsive
Quote:
Originally Posted by
rbarbour
Only the templates using the new code that includes the $_SESSION for switching between devices. 3.0-Beta completely eliminates the need to include the php-mobile-detect if statements in individual files all together!
Thanks, I believe I am exempt for now, or the client is until we figure out what we are going to do! We are using responsive_apparel_boutique
Re: Editing Header Menu Links and Removing Shopping Cart from Top of Screen
Thanks, Anne! You are awesome! All I needed to know was where to look, and I modified the files from there to get all four issues corrected. Thanks, again! :-)
Re: Winchester Responsive
Quote:
Originally Posted by
rbarbour
Only the templates using the new code that includes the $_SESSION for switching between devices. 3.0-Beta completely eliminates the need to include the php-mobile-detect if statements in individual files all together!
That is such a cool improvement! Thank you so much rbarbour for your work on the responsive code :cool:
Thanks,
Anne
Re: Editing Header Menu Links and Removing Shopping Cart from Top of Screen
Quote:
Originally Posted by
CookieMonster
Thanks, Anne! You are awesome! All I needed to know was where to look, and I modified the files from there to get all four issues corrected. Thanks, again! :-)
I am happy that you figured it out ;)
Thanks,
Anne