Re: Winchester Responsive
Quote:
Originally Posted by
picaflor-azul
This template is using a php mobile detect script to recognize devices and deliver the appropriate layout to that device. When a device is not detected, which happens on a desktop, or on these windows tablets the fall back responsive_default.css stylesheet is served. I did not spend a lot of time on the responsive_default.css as a large majority of devices will work correctly and have the appropriate layout served to them. If you want to view the tablet layout on a desktop you can use the url:
http://www.zenlyzen.com/responsive-z..._mode=isTablet
and if you want to view the mobile layout on the desktop you can use:
http://www.zenlyzen.com/responsive-z..._mode=isMobile
then you can resize your window to the device width to view portrait or landscape layouts.
Thanks,
Anne
Thanks for the explanation of how the stylesheets are structured and selected. Knowing what css file does what, I can make those edits, I'm sure.
Cheers
Simon
Re: Winchester Responsive
Quote:
Originally Posted by
simon1066
Thanks for the explanation of how the stylesheets are structured and selected. Knowing what css file does what, I can make those edits, I'm sure.
Cheers
Simon
You can also see the DIY Responsive Template Default package and readme as this is what I used to build the templates.
Thanks,
Anne
Re: Winchester Responsive
Anne,
I don't know what it is, but on your demo in Chrome and Firefox I only get the homepage as Winchester Responsive. Any page after that goes to the classic default template.
My IE9 hangs on to Winchester, but in the messed-up compatability mode thing we already went over.
If others don't have this problem with Chrome and Firefox then I guess it must be my machine...a real possibility.
Re: Winchester Responsive
Quote:
Originally Posted by
SPH
Anne,
I don't know what it is, but on your demo in Chrome and Firefox I only get the homepage as Winchester Responsive. Any page after that goes to the classic default template.
My IE9 hangs on to Winchester, but in the messed-up compatability mode thing we already went over.
If others don't have this problem with Chrome and Firefox then I guess it must be my machine...a real possibility.
Sorry about that. I am working on this. It is being caused by the template switcher. It has to do with cookies. It is working for me in chrome and firefox but I have seen the problem popup intermittently.
Thanks,
Anne
Re: Winchester Responsive
Quote:
Originally Posted by
picaflor-azul
Sorry about that. I am working on this. It is being caused by the template switcher. It has to do with cookies. It is working for me in chrome and firefox but I have seen the problem popup intermittently.
Thanks,
Anne
When I navigate to ANY other page in the demo I am taken to the Classic template.. Using Firefox.. lastest version..
Re: Winchester Responsive
Quote:
Originally Posted by
DivaVocals
When I navigate to ANY other page in the demo I am taken to the Classic template.. Using Firefox.. lastest version..
Thanks for posting. Yes, I am working on this. Can you use the template switcher sidebox to switch back to the Winchester Responsive template?
Thanks,
Anne
Re: Winchester Responsive
Quote:
Originally Posted by
picaflor-azul
Thanks for posting. Yes, I am working on this. Can you use the template switcher sidebox to switch back to the Winchester Responsive template?
Thanks,
Anne
Ahhhh.. that did the trick.. now I can see the rest of this template.. Thanks..
Re: Winchester Responsive
Anne, I'm loving it so far :hug:
Could you explain what/where the CSS code is to control the change on hover for the category image backgrounds please? I'd love to try that same hover effect in action on Stirling Grand.
Re: Winchester Responsive
Quote:
Originally Posted by
picandnix
Anne, I'm loving it so far :hug:
Could you explain what/where the CSS code is to control the change on hover for the category image backgrounds please? I'd love to try that same hover effect in action on Stirling Grand.
If you look at the stylesheet.css file look at line 341 and 342 ;) It is using a css transition.
Thanks,
Anne
Re: Winchester Responsive
There are quite a few differences between the includes\classes\split_page_results.php file and the default one for Zen Cart v1.5.1.. As there are no code comments present, I am not sure which of these changes are related to one of the bundled modules.. Can you provide some insight as to what the changes are and for which bundled module do they relate to??
Just taking a guess it looks like these are the some of the changes made.. Not sure if the rest are differences between Zen Cart versions or other changes that are a result of template related mods..
Lines 44-48
Code:
if ($page == 'all') {
$this->page_all = true;
$override = $db->Execute($query);
$max_rows = $override->RecordCount();
}
Lines 108-111
Code:
if ((!$this->page_all) && ($this->number_of_pages > 1)) $display_links_string .= '<a href="' . zen_href_link($_GET['main_page'], $parameters . $this->page_name . '=' . 'all', $request_type) . '" title=" ' . SHOW_ALL_TITLE . ' ">' . SHOW_ALL_BUTTON . '</a> ';
elseif ($this->page_all) $display_links_string .= '<a href="' . zen_href_link($_GET['main_page'], $parameters, $request_type) . '" title=" ' . SHOW_PAGEVIEW_TITLE . ' ">' . SHOW_PAGEVIEW_BUTTON . '</a> ';
Lines 125-132
Code:
// page nn button - visa inte om alla sidor visas
if (!$this->page_all) {
for ($jump_to_page = 1 + (($cur_window_num - 1) * $max_page_links); ($jump_to_page <= ($cur_window_num * $max_page_links)) && ($jump_to_page <= $this->number_of_pages); $jump_to_page++) {
if ($jump_to_page == $this->current_page_number) {
$display_links_string .= ' <strong class="current">' . $jump_to_page . '</strong> ';
} else {
$display_links_string .= ' <a href="' . zen_href_link($_GET['main_page'], $parameters . $this->page_name . '=' . $jump_to_page, $request_type) . '" title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $jump_to_page) . ' ">' . $jump_to_page . '</a> ';
}