[rellect] Desktop Version For Mobiles

[rellect] Desktop Version For Mobiles 1.2.0

No permission to download
  • Like
Reactions: rdn
In forum index it works.
In xenporta the switch doesn't work.
Can you send me a link to your site? I'll take a look.
The only thing I can think of right now is that you have some js error in your xenporta page.
 
Does this just remove the Responsive class off of <html>? Or rather shouldn't it?
 
It does not remove this class, though it may not be a bad idea to do it "just to be sure".
Well is that alone not good enough? That and editing the viewport meta tag? Im actually asking here, Im really not sure.
 
Well is that alone not good enough? That and editing the viewport meta tag? Im actually asking here, Im really not sure.
That alone won't work as the viewport meta tag still forces the site to be rendered in a very narrow screen width.
Editing the viewport is actually what I'm doing in this addon, and so far it works. No other tricks were needed.
 
Will work on any style.

No it doesn't.

We use Audentio UIX...

1) The 'Desktop Version' button shows twice, only one of them works

2) When you ask for the desktop version, you get the responsive version for the narrowest mobile screen ever.
 
No it doesn't.

We use Audentio UIX...

1) The 'Desktop Version' button shows twice, only one of them works

2) When you ask for the desktop version, you get the responsive version for the narrowest mobile screen ever.
Send me the URL to your site please, I'd like to take a look.
 
rellect updated [rellect] Desktop Version For Mobiles with a new update entry:

v1.1.0

This update requires to revert edited templates of the addon.

What's new

  1. Fixed a bug with non pixel value for @nonResponsiveMinWidth causing to unexpected results (mostly applies to custom themes).

  2. Fixed a case where the switch button could be displayed twice due to duplication of a specific code in the footer template (mostly applies to custom themes).

    ...

Read the rest of this update entry...
 
I've moved this into the header, how can we increase the font size and give it some padding?

I've tried to wrap it in divs but they still show for all users and waste a bit of space up there.

Cheers, Chris
 
I've moved this into the header, how can we increase the font size and give it some padding?

I've tried to wrap it in divs but they still show for all users and waste a bit of space up there.

Cheers, Chris
You can style the button based on its class using css. For example
HTML:
.rellect_desktop_version
{
    font-size: 24px;
    padding: 15px;
}
I'll add a style property to easily style this in the next update.
 
Font styling works a treat, but there's something in my theme stopping the padding...

.rellect_desktop_version
{
font-size: 20px;
padding: 15px 0px 15px 15px !important;
font-weight: bold;
}
 
Font styling works a treat, but there's something in my theme stopping the padding...

.rellect_desktop_version
{
font-size: 20px;
padding: 15px 0px 15px 15px !important;
font-weight: bold;
}
Adding 'important' solved that for you?
Let me know if you need me to take a look.
 
Back
Top Bottom