Re: Refresh theme footer social media

Solved

How can I update my theme footer's social media layout?

Bogi2
Excursionist
17 1 1

Hi,

I have two problems with my footer design:

1. I would like the email subscription to be positioned as a 6th column in the footer.

2. I would like the social media icons to be visible next to the text Facebook and Instagram under the "Kövess Minket" section

Could anyone help me out please?

 

 

footernow.PNGfooterwish.PNG

Accepted Solutions (2)
BSS-Commerce
Shopify Partner
3478 465 559

This is an accepted solution.

Point 1:

- Find and open the theme.liquid file, add this code before the </body> tag like the image

BSSCommerce_2-1684293539232.png

 

<script>
    let footerEmail = document.querySelector(".footer-block__newsletter");
    let footerWrapper = document.querySelector(".footer__blocks-wrapper");
    
    if(footerEmail) {
        footerEmail.remove();
        footerEmail.classList.remove("footer-block__newsletter");
        footerEmail.classList.add("footer-block");
        footerEmail.classList.add("grid__item");
        footerWrapper.appendChild(footerEmail);
    }
</script>

- Save

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

BSS-Commerce
Shopify Partner
3478 465 559

This is an accepted solution.

Point 2:

Find and open the file global.js, add this code at the end of the file global.js

let footerContainer = document.querySelector(".footer-block--newsletter");

let linkSocials = document.querySelectorAll(".link.list-social__link");

let textSocials = document.querySelectorAll(".footer-block__brand-info .rte h6");

if(footerContainer){
    footerContainer.remove();
}
if(linkSocials.length && textSocials.length) {
    textSocials.forEach((text, index) => {
        text.prepend(linkSocials[index]);
    })
}

- Save

Hope these suggestion can help you.

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 5 (5)

BSS-Commerce
Shopify Partner
3478 465 559

Hi @Bogi2 
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Bogi2
Excursionist
17 1 1

thank you so much in advance!

https://26a13e.myshopify.com/

mideer

BSS-Commerce
Shopify Partner
3478 465 559

Hi @Bogi2 , you can follow these suggestion:

- At Shopify Admin, Select Online Store -> Themes -> Edit Code

BSSCommerce_0-1684293413732.png

- Find and open the file base.css, add this code at the end of the file

BSSCommerce_1-1684293430307.png

.footer-block__brand-info .rte h6{
    display: flex;
    align-items: center;
}

.footer-block__brand-info .rte h6 svg {
    height: 20px;
    margin-right: 6px;
    color: #fff;
}

.footer-block__brand-info .rte h6 .list-social__link.link {
    padding: 0 !important;
}

.footer .page-width {
    max-width: 125rem !important;
}
@media (min-width: 767px) {
    .footer .footer__blocks-wrapper.grid--4-col-tablet .grid__item.footer-block {
        width: calc(16.67% - 20px) !important;
    }
}

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
BSS-Commerce
Shopify Partner
3478 465 559

This is an accepted solution.

Point 1:

- Find and open the theme.liquid file, add this code before the </body> tag like the image

BSSCommerce_2-1684293539232.png

 

<script>
    let footerEmail = document.querySelector(".footer-block__newsletter");
    let footerWrapper = document.querySelector(".footer__blocks-wrapper");
    
    if(footerEmail) {
        footerEmail.remove();
        footerEmail.classList.remove("footer-block__newsletter");
        footerEmail.classList.add("footer-block");
        footerEmail.classList.add("grid__item");
        footerWrapper.appendChild(footerEmail);
    }
</script>

- Save

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
BSS-Commerce
Shopify Partner
3478 465 559

This is an accepted solution.

Point 2:

Find and open the file global.js, add this code at the end of the file global.js

let footerContainer = document.querySelector(".footer-block--newsletter");

let linkSocials = document.querySelectorAll(".link.list-social__link");

let textSocials = document.querySelectorAll(".footer-block__brand-info .rte h6");

if(footerContainer){
    footerContainer.remove();
}
if(linkSocials.length && textSocials.length) {
    textSocials.forEach((text, index) => {
        text.prepend(linkSocials[index]);
    })
}

- Save

Hope these suggestion can help you.

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


Product Labels by BSS | B2B Solution & Custom Pricing


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency