The media query appears to be ineffective on the footer section when accessed from a mobile device, yet it functions properly when adjusting the browser's screen size

I'm facing an issue with the footer section of my website. It appears very responsive when viewed from a desktop or tablet, but when I open the site on my mobile phone, the footer looks unstyled.

Here is how it appears on desktop at 360px: enter image description here

However, on my mobile phone, it looks like this: enter image description here

To view the live site, click here: For the GitHub repository, visit: https://github.com/aginamena/Designo-Multi-Page-Website-

Answer №1

It appears that the alignment issue in the Safari browser is not related to media queries, but rather caused by the use of position: absolute in the footer container. This problem can be observed in both Desktop Safari's responsive design mode and on iPhone's Safari browser. Interestingly, the footer displays correctly on Desktop Chrome and Android Chrome browsers.

To address this issue, I recommend creating a new footer container with position: relative, along with another div using flex properties instead of absolute positioning. By adjusting the margins accordingly, you should be able to achieve the desired alignment without compromising the layout in Safari.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Are your forms acting out? React Hooks and Typescript collaboration might be the answer!

After spending months using class components, I decided to try out Hooks and Typescript for the first time. My current challenge is setting up a search bar as a controlled form. No matter what I do, I can't seem to achieve this. Additionally, when t ...

Encountering a Dockercompose issue when attempting to initiate npm start for my React application

I have dockerized my React/Django app and set up the necessary Docker files and Docker Compose configurations. When I run "docker-compose up", my database and backend are working fine, but I am encountering an error in React (「wds」: Content not from we ...

Having trouble with exporting static HTML using Next.js

Recently, I have completed a project and now I am looking to export it to static HTML. In order to achieve this, I added the following command in my package.json file: build" : "next build && next export Upon running the command npm run ...

How can I create 3 conditions in an AJAX request to verify a user's ID?

I am trying to create 3 conditions in Ajax to check when creating a new user id. It works for 2 conditions (username can be used and username is already in use), but I encounter a problem when the user leaves the username field empty, and it still displays ...

What is the best way to shift a text element within the footer section?

I have arranged two columns within the container, but I am looking to position the .company and .copyright text at the bottom left of the footer column. The Follow Us heading should be on the right side with the .justify-text below it, followed by social m ...

accessing a webpage using an ionic application

I currently have a responsive website, but I am looking to turn it into an app in order to utilize push notifications. Right now, I am using the inappbrowser plugin to open my website with this code: <a href="#" onclick="window.open('http://www.ex ...

Implement a loading spinner for autocompletion by utilizing an array as data source instead of relying on an

If you're interested in implementing autocomplete using an array instead of an in-memory web API, check out this thread for an example: Here's the updated search function in autocomplete.service.ts: search(filter: {name: string} = {name: '& ...

Why is the radio button getting bound to the error instead of the label?

I'm currently working on validating radio buttons in a GSP file using the jQuery validation plugin. The issue I'm facing is that the error message is being bound to the first radio button and appearing at the bottom of it. Instead of displaying ...

Ensuring the canvas fits perfectly within its parent div

I am attempting to adjust my canvas to fit inside a div. // Make the Canvas Responsive window.onload = function(){ wih = window.innerHeight; wiw = window.innerWidth; } window.onresize = function(){ wih = window.innerHeight; wiw = window.innerWidth; } // ...

Transform charset X to Unicode using Java

What is the process to convert a specific charset to unicode in Java? We have discussed charsets extensively, but this particular topic has not been covered yet. I have a hex string that follows the criteria length%4==0 (e.g. \ud3faef8e). Typically, ...

Material UI in React: A lengthy typography body necessitates a line break

Currently using the Material UI grid system to create two columns side by side. However, due to the Lorem ipsum text length, the right column is pushed down to a new row. Shortening the text will allow it to be displayed properly in two columns. <Grid c ...

Error: AngularJS: Invalid Argument Error. The argument 'ClientCtrl' is not defined as a function, it is currently undefined

As a newcomer to AngularJS, I am facing an issue while trying to add a controller to my website. Strangely, the other two controllers are functioning perfectly fine, but this particular one is not being recognized. Here is my app.js file: var app = angul ...

Creating anonymous TypeScript class factories

Using TypeScript v2.2. In my codebase, there exists a class factory: export class A { name: string; } export function makeConstructor(name: string) { const newClass = class extends A { }; newClass.prototype.name = name; return newClass; } Howev ...

Simple steps to ensure your useQuery data is fully loaded before proceeding with your work in NextJS

React Query is a new tool I'm using in my current project, and so far, I find it pretty useful. However, as I am still learning the ropes, I've encountered an issue that I can't seem to resolve. The problem arises when I invoke the useQuery ...

Using React to access the properties of objects within an array that has been dynamically mapped

For my initial dive into developing a React application, I am currently in the process of fetching data from a database and updating the state to store this information as an array. My main challenge lies in accessing the properties of the objects within t ...

What are some creative ways to incorporate checkboxes into MaterialTable using React?

I am working on a project using react and I need to include a material-table with checkboxes. Can anyone provide guidance on how to achieve this? https://i.stack.imgur.com/yEBmd.png ...

A collection of items that mysteriously affix themselves to the top of the page as

Unique Context In my webpage, I have a specific div element with the CSS property of overflow: auto. Within this scrolling div, there is structured content like this: <h3>Group A</h3> <ul> <li>Item 1</li> <li>I ...

An existing INPUT value can be modified by dynamically adding or subtracting values from SELECT OPTION

I currently have an <input readonly> field that displays the total_price value retrieved from a shopping cart stored in the database table. Moreover, I have included a <select> element with different transport options that can either increase o ...

Issue with D3 Force Directed Graph: The missing flags mystery

SCENARIO: It is essential for each node to display its corresponding flag, however, this functionality is currently missing. PROGRAM CODE: body { font-family: Lato; background-color: #F5F5F5; } .title { margin-top: 30px; margin-bottom ...

How to separate Meteor client and server with the help of mondora/asteroid?

Currently, I am exploring the integration of Meteor with my Angular project structure and templates. In this quest, I came across a library called Asteroid which is described as "A javascript client (browser and node) for a Meteor backend, Asteroid gives t ...