NetTalk Central

Author Topic: How to change the mobile banner and its buttons color?  (Read 6228 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
How to change the mobile banner and its buttons color?
« on: March 06, 2017, 12:58:23 PM »
How to change the mobile banner and its buttons color?
Please see image
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to change the mobile banner and its buttons color?
« Reply #1 on: March 09, 2017, 05:32:43 AM »
It's done with the mobile stylesheet.

But I strongly recommend not using mobile mode at all. It's on the way out.
Rather force it into desktop mode (WebHandler / Actions) and then construct the site so it's responsive to small screens.
We talked about that some in the user group webinars, and we can chat more there if you have questions.

Cheers
Bruce


Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: How to change the mobile banner and its buttons color?
« Reply #2 on: March 13, 2017, 12:45:05 PM »
OK, I force it into desktop mode (WebHandler / Actions)
but
p_web.IsMobile() is allways 0
then how can I know its  mobile device??
-----------
Regards
Alberto

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: How to change the mobile banner and its buttons color?
« Reply #3 on: March 13, 2017, 11:58:27 PM »
>>then how can I know its  mobile device??
I got that from Agent.

Robert

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to change the mobile banner and its buttons color?
« Reply #4 on: March 16, 2017, 12:24:46 AM »
Hi Alberto,

>> then how can I know it's a mobile device??

why would you want to know this?

cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: How to change the mobile banner and its buttons color?
« Reply #5 on: March 16, 2017, 05:46:02 AM »
Because you said:...

Rather force it into desktop mode (WebHandler / Actions) and then construct the site so it's responsive to small screens.
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to change the mobile banner and its buttons color?
« Reply #6 on: March 21, 2017, 03:08:27 AM »
there's no way to know the "size" of the screen.
All you get is the screen resolution.
You can get the current screen size using
p_web.GSV('_screenwidth_')
and
p_web.GSV('_screenheight_')

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: How to change the mobile banner and its buttons color?
« Reply #7 on: April 07, 2017, 04:30:09 AM »
But I strongly recommend not using mobile mode at all. It's on the way out.
Rather force it into desktop mode (WebHandler / Actions) and then construct the site so it's responsive to small screens.

We talked about that some in the user group webinars, and we can chat more there if you have questions.


What's the plan? and when? i have same problems with mobile themes is very difficult work with this css

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to change the mobile banner and its buttons color?
« Reply #8 on: April 09, 2017, 11:25:00 PM »
>> What's the plan? and when?

well, you can start using "Desktop" mode on mobile devices already.

I'm not sure I'll actively "remove" the code for jQuery Mobile, but that's probably not an area I'm gonna spend any time on moving forward.

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: How to change the mobile banner and its buttons color?
« Reply #9 on: April 10, 2017, 03:27:28 AM »
Last NT version is responsive? what about a tabs?, somebody have a good responsive css with NT?
thanks..

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to change the mobile banner and its buttons color?
« Reply #10 on: April 10, 2017, 10:27:22 PM »
Hi Osa,

Perhaps this is a topic we can discuss at the webinar. Join us there on Thursday and we can work through it.

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: How to change the mobile banner and its buttons color?
« Reply #11 on: April 12, 2017, 05:03:28 AM »
I will not be able to stay but include the topic in the webminar..

thanks..