Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED] Disable Mobile Layout ect.
(1 viewing) (1) Guest
Userguide, Report bugs, New Ideas...
  • Page:
  • 1

TOPIC: [SOLVED] Disable Mobile Layout ect.

[SOLVED] Disable Mobile Layout ect. 11 years, 8 months ago #4347

  • Hulbertus
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi,

I want to disable the mobile, iphone ect. layout so when you look the website on a mobile phone or else it looks the same as you open it on a computer. I set all the layouts the same, so the window layout has the same as the iphone layout but I doesn't get the same layout on a mobile phone.

How do I disable the layouts so the website looks the same on all platforms?

Thanks!
The topic has been locked.

Re: Disable Mobile Layout ect. 11 years, 8 months ago #4356

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi Michael Halvemaan,

Please open the yt_template.class.php in "your_site/templates/sj_news25/includes", finding:

if($this->mobile_device_detect()){
			$this->is_mobile = true;
			if($this->get_cookie($this->template.'_switch_modes')!=''){
				if($this->getParam('switch_modes')=='1'){
					$this->is_mobile = true;
				}else{
					$this->is_mobile = false;
				}
			}
		}else{
			$this->is_mobile = false;
			if($this->getParam('switch_modes')=='1'){
				$this->is_mobile = true;
			}
		}


change to:

               $this->is_mobile = false;
		if($this->getParam('switch_modes')=='1'){
			$this->is_mobile = true;
		}


Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.
The following user(s) said Thank You: Hulbertus

Re: Disable Mobile Layout ect. 11 years, 8 months ago #4362

  • Hulbertus
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Thanks, this is great!
The topic has been locked.

Re: Disable Mobile Layout ect. 10 years, 8 months ago #11644

Thanx
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.34 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes