Jump to content

arie

Circle Member
  • Posts

    33
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    arie reacted to tuanphan in have a floating button but cannot find the code :) + button on index page - york template   
    I think if you can add a text link there, we can use CSS to turn it to button
  2. Thanks
    arie got a reaction from paul2009 in change color on navigation in bi-langual site   
    Thank you so much @paul2009! This worked perfectly.
  3. Like
    arie reacted to paul2009 in change color on navigation in bi-langual site   
    If you add code that references the "nth" element, it can be difficult to maintain the code, especially when the content is dynamic - in this case due to the language switching.
    Instead, you can reference the url of those external links, like this:
    /* Change color of language links */ .header-nav-item.header-nav-item--external a[href="/english"], .header-nav-item.header-nav-item--external a[href="/en/nederlands"],  { color: red; } This will only affect the desktop navigation. If you want to set an alternative colour for the mobile navigation, you'll want to add some CSS for this too. For example:
    /* Language links on mobile nav */ .header-menu .header-menu-nav a[href="/english"], .header-menu .header-menu-nav a[href="/en/nederlands"] { color: white!important; } Did this help? Please give feedback by clicking an icon below  ⬇️ 
  4. Like
    arie got a reaction from Ziggy in different announcement bar on certain pages   
    No it is perfect like this!
  5. Like
    arie got a reaction from tuanphan in second line of text on portfolio   
    Thank you so much!
×
×
  • 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.