Okay
  Public Ticket #3726901
Footer widget
Closed

Comments

  •  1
    SamType40 started the conversation

    Hi,

    Could you please help me to make the footer widgets become centered on mobile? But leave as is on desktop?

    Could you also include css that allows me to edit the padding between each widget and the font size?

    Is there also a way to show a different footer image on mobile?

    Thanks for your help in advance.

  •  8,938
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    body #footer-outer .row {
        padding: 25px 0;
    }
    #footer-outer #copyright[data-layout=centered] {
        padding: 0;
    }
    #footer-outer .widget {
        margin-bottom: 0px !important;
    }
    div#footer-outer {
        background-size: contain;
    }
    @media only screen and (min-width: 1000px) {
        #footer-outer[data-using-bg-img=true] {
            /* background-size: contain !important; */ /* background-repeat: no-repeat; */ background-image: url(https://typef3.sg-host.com/wp-content/uploads/2024/09/Type-40-Footer-01.svg);
        }
    }

    Thanks



    ThemeNectar Support Team 

  •  1
    SamType40 replied

    Thank you,

    Sorry, currently the widgets are going across the page from left to right on mobile.
    Is there a way I can left align widget two and three? So it would match "Instagram and LinkedIn".
    But keep as is on desktop?

    I would also like to edit the font size on mobile to be different to desktop.

    And if possible can I still have a large divider on desktop? To ensure the footer image is visible.

    Thanks so much

  •  8,938
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (max-width: 690px) {
        #footer-outer .widget p ,#footer-outer .widget p * {
            text-align: left !important;
            font-size: 16px !important;
        }
    }
    @media only screen and (min-width: 1000px) {
        body #footer-outer .row {
            padding: 75px 0 !important;
        }
    }

    Thanks


    ThemeNectar Support Team 

  •  1
    SamType40 replied

    That worked perfectly. Thank you.
    Only issue I'm having now is using a different footer image on mobile view but keeping it as it is on desktop.

  •  1,918
    Judith replied

    Hi there,

    Thanks for writing back.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    @media only screen and (min-width: 1000px) {
        #footer-outer[data-using-bg-img=true] {
            /* background-size: contain !important; */ /* background-repeat: no-repeat; */ background-image: url(https://typef3.sg-host.com/wp-content/uploads/2024/09/Type-40-Footer-01.svg);
        }
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related.

     If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help.