Jump to content

humxahafeex

Circle Member
  • Posts

    206
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by humxahafeex

  1. On 6/20/2023 at 12:27 PM, tuanphan said:

    Add this code to Design > Custom CSS. You can replace whatsapp icon in the code with new url (because we can't use code to change its color, so if you need to change to blue, you can send new icon, I will give new code)

    /* Whatsapp */
    header#header [href*="whatsapp"] {
        background-image: url(https://i.ibb.co/xKZkYDB/whatsapp-icon.png);
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    header#header [href*="whatsapp"] svg {
        display: none;
    }

     

    Great Solution , If someone needs to get same thing done in footer  you can use this code, just a extension to above one.

    footer#footer-sections [href*="wa.me"] {
        background-image: url(https://i.ibb.co/xKZkYDB/whatsapp-icon.png) !important;
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    footer#footer-sections [href*="wa.me"] svg {
        display: none;
    }

    "Whatsapp" is replaced by "wa.me" as per new whatsapp link policy for more check this link How to use click to chat | WhatsApp Help Center

  2. Just now, tunglmyrkvi said:

    Thank you, but that only changed the look of the active link, the secondary items ("Contact" and "Read me") still look the same.

    Oh yeah , sorry just delete that code and replace it with this one:  I have marked for active and inactive links so it would be easy for you to use.

     

    /*For active Links*/
    #mobileNav li.active-link a {
        color: grey !important;
        font-size:16px;
    }
    
    /*For inactive Links*/
    #mobileNav li a {
        color: grey !important;
        font-size:16px;
    }

     

  3. #mobileNav li.active-link a {
        color: grey !important;
        font-size:16px;
    }

    Please do go the Design >Custom CSS and paste the above code there , to change the color simply replace grey color with the color you want , for font size change the 16 with some big or small value depending upon size you want.

     

    Please let me know if it helps , it it fixes the problem , don't forget to mark it as solved :) 

  4. Just now, tunglmyrkvi said:

    I'm no CSS expert. I managed to add more space between the primary and secondary items, but I don't know the right code to change the size and colour of "Contact" and "Read me" for mobile.

    No problem at all we are here to help you out , Please wait so we can send you a CSS code to put in the correct place to make things right for mobile and desktop :) 

  5. 2 minutes ago, tunglmyrkvi said:

    I want the secondary navigation to be visually distinct from the primary navigation. On desktop view, I can change the font, font size and colour for each of them, but on mobile view all navigation items look the same. So I'm looking for a way to change the look of the secondary navigation items (smaller font, different colour) on mobile view.

    Hi , Did you tried to use CSS for mobile specifically ? 

  6. On 5/24/2023 at 2:13 AM, Sepia said:

    I tried this, it did not seem to work. 😞

    Hi Sepia, Please make sure you are pasting the code in the individual page header setting , you can access this setting by hovering on page as you hover gear icon appears , click on that gear icon , pop up will open up , on that pop up click on Advance , then paste the code , it should work , if not let us know we are here to help you out.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.