Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-03-24 21:32:04

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Mobile masthead display

Still working on this test site pideja.ca/nat.
For some reason, the mobile version fails to display the Home page masthead. Looked around everywhere, can't find what is the problem. The image (masthead) is below the navigation (Fr and En) and is 700x500. Could it be too large for the tablet and the phone?

Offline

#2 2017-03-24 22:01:47

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Mobile masthead display

have you looked under the Masthead settings? There's an option to hide on mobile. What's that set at?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2017-03-24 22:25:57

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Mobile masthead display

and in case you didn't see it, it looks like navigation is disabled in the tray.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#4 2017-03-24 22:34:21

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Mobile masthead display

The Masthead settings:
- Location: Main Collumn;
- Identity on Mobile : Display in UI Bar : on
- Text Align : Center

The Navigation Trays set to Show Always.

Last edited by pideja (2017-03-24 22:35:04)

Offline

#5 2017-03-24 22:41:17

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Mobile masthead display

with those setting, a text-based identity will show in the UI bar

What is the setting in Masthead > Hide on Mobile?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2017-03-24 22:43:28

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Mobile masthead display

The Navigation Trays set to Show Always.

you probably want that set to On Mobile.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#7 2017-03-24 23:20:59

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Mobile masthead display

Rod wrote:

you probably want that set to On Mobile.

I set it to On Mobile. Navigation now back.

As for

What is the setting in Masthead > Hide on Mobile?

I can't find it in the Masthead section.

Offline

#8 2017-03-24 23:29:51

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Mobile masthead display

In your Page template, go to the Masthead section. It's the third item.

masthead-settings.jpg


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#9 2017-03-24 23:51:14

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Mobile masthead display

Well, on my Backlight Standard Page, no such item shows up.
navigation

Offline

#10 2017-03-25 00:13:06

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Mobile masthead display

looks like the reason this is happening is that you're putting the masthead in the main column. The Hide on Mobile option is not available for this configuration. It looks like the masthead is hidden automatically.
You could try overriding this with custom css.

This is the css that's making the masthead disappear:

@media screen and ( max-width: 1024px ) {

  .masthead { 
  	display: none;
  }

}

you could try using this same rule in custom css, just change display: none; to display: block;

I don't know what the side effects might be. You may need additional styling to make it appear as you wish.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#11 2017-03-25 05:17:55

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Mobile masthead display

Two steps forward, one step back...

I now put the masthead in the header position. Result: it is completely to the left and the navigation is under the masthead.

I need the navigation to be over the masthead, the image centered on the page.

Also, after putting the masthead in the header, the "Hide on Mobile" is there, but grayed out and stuck on off.

The image shows up on the mobile (and, I assume on the tablet) although it's quite small.

Anyway, to get those navigation links in a natural form and above the masthead? There is a lot of white space on the vertical (phone) screen.

Offline

#12 2017-03-25 06:02:28

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Mobile masthead display

As far as I can tell, the only configuration where you can have the nav over the masthead is by putting the masthead in the main column.

overriding that with custom css as I mentioned above seems to work. I've only tried it by resizing the browser so far; I haven't checked on a mobile device. But give that a try. Just set display: block; instead of display:none;


Edit: looks like it works fine on mobile devices too. Here's an example page
http://backlight-rb-test.barbeephoto.com/nav-at-top.php


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB