• Resolved Sinkadus

    (@niwin)


    Hi

    Not sure what the area behind the notch is called, but easy question non the less: is it possible to change this background color (to white), and how/where do i do this?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Magazine3

    (@magazine3)

    Can you please elaborate a little bit more on this? So that we will let you know accordingly to resolve your issue.

    Thread Starter Sinkadus

    (@niwin)

    Ofc!

    The area on top of modern iPhones (not sure how Android devices handles this…):

    https://share.getcloudapp.com/JruoPE4q

    Is this possible to change, within the PWA settings?

    Plugin Author Magazine3

    (@magazine3)

    Yes, You can change it using the following code:<meta name="theme-color" content="white" /> in the wp-content/plugins/pwa-for-wp/service-work/class-service-worker.php file.

    Thread Starter Sinkadus

    (@niwin)

    Thanks! – but will not that update disappear when I update the plugin? Why is there not a setting for this in the app…?

    Plugin Author Magazine3

    (@magazine3)

    No, it won’t disappear. It is a browser theme, So we can automatically change that color using the code and not have any settings for that. Please give it try by using the code and let us know back if it works or not.

    Thread Starter Sinkadus

    (@niwin)

    Yep, it worked!

    And this modified file will not be replaced when the plugin gets updated? My usual experience with modifying plugin files, is that these changes disappear when the plugin gets updated, due to the files being replaced… Sorry if I’m being thick, but I just can’t wrap my head around doing file specific changes in plugins like this…

    Plugin Author Magazine3

    (@magazine3)

    Yeah, for this we have the option in the PWA settings: https://prnt.sc/cVvu-KpzzGej

    Please do refer to this, and let us know if you have any other queries.

    Thread Starter Sinkadus

    (@niwin)

    ahhh – I never noticed the little “design” tab next to General (never noticed “General” either). Thanks for this explanation ??

    Plugin Author Magazine3

    (@magazine3)

    You’re welcome. If you have any other queries or issues, please let us know by opening a new thread/topic.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Background color for “overflow area”’ is closed to new replies.