How can I center an image in the footer on mobile using the Pipeline theme?

I’m trying to center a logo in a div in the footer. I got it to work for desktop with this, but it isn’t working for mobile. Preview link for store is https://innovo.plus/?_ab=0&_fd=0&_sc=1&preview_theme_id=161449804066

#accordion-f0ad54e9-2ab7-42fe-b20f-000772b38856-1 {
display: flex;
flex-direction: column;
align-items: center;
}

1 Like

Hi @52_Web

Check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width:767px){
#accordion-f0ad54e9-2ab7-42fe-b20f-000772b38856-1 {
    display: flex !important;
}
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

HI @52_Web

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.css

Step 3: Paste the below code at bottom of the file → Save

@media (max-width: 767px){

div#accordion-f0ad54e9-2ab7-42fe-b20f-000772b38856-1 {

display: flex !important;

}}

Hope that my solution works for you.

Best regards,

Henry | PageFly

Hello @52_Web ,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > theme.css and paste this at the Bottom of the file:
div#accordion-f0ad54e9-2ab7-42fe-b20f-000772b38856-1 {
display: flex!important;
}

This worked! Thank you!