Custom styles not showing up in the app.

About Support App Custom styles not showing up in the app.

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6641
    Avatar for kcclemokcclemo
    Participant

    Out of nowhere my custom styles are no longer showing up. I’m not sure what’s going on.
    I’ve added them inline to the home screen as a temporary measure but, I’ve noticed that the other default app content pages have all reverted to the default styles.

    #6642
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Just literally spotted the same. Will update now.

    #6643
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    For now add this to your Home App Content page. Only needs to be on that page so style is updated on app startup with saved value.

    
    <script>
    var style=window.localStorage.getItem('style');
    $("#dynamicStyles").html(style);
    </style>
    
    • This reply was modified 5 months ago by Avatar for Andy MoyleAndy Moyle.
    • This reply was modified 5 months ago by Avatar for Andy MoyleAndy Moyle.
    #6646
    Avatar for kcclemokcclemo
    Participant

    Thank you, sir! That seems to be solving the issue for the time being.

    #6648
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Great!
    Our hosting company for our church site is a bit slow, which is noticeable on the app – takes a few seconds to get the content. Did some checks and found it was mostly waiting for the server not the processing and data download (2secs for us, of which 1.94s is waiting for server response). So I’ve been working on caching app content, so you just get that wait just when a church updates it’s app content and then page response in the app is instant. Won’t cache the calendar, or news pages, but everything else can be cached. Should be a game changer, but spending a lot of time testing scenarios.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.