Suz77 Posted August 19, 2022 Posted August 19, 2022 (edited) Site URL: https://www.suzannewright.com.au Hi, I have a call-to-action button (Call me, Baby) at the top right of my header. It was appearing on both desktop view and mobile until tonight. I changed the button's settings to link to a contact page. Once I saved it, it disappeared on the mobile view. Now it appears when you click the three lines - it's below the page options. How do I get it out of there, please? I keep choosing the original settings to arrange the header but it doesn't work. Please help. Thanks in advance. Suzanne Edited August 20, 2022 by Suz77
tuanphan Posted August 20, 2022 Posted August 20, 2022 You want button appear here or? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
SamKahn Posted January 3, 2023 Posted January 3, 2023 did anyone find a solution to this? i have the same problem.
tuanphan Posted January 5, 2023 Posted January 5, 2023 On 1/3/2023 at 11:29 PM, SamKahn said: did anyone find a solution to this? i have the same problem. You mean make a button appear here? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
SamKahn Posted January 9, 2023 Posted January 9, 2023 the problem was that the button wasnt visible in the mobile version. But i found somebody who asked the same question and the problem was solved through a line of code that i added into the design section tuanphan 1
ValueResonance Posted August 20, 2023 Posted August 20, 2023 Hi @SamKahn Could you post a link to the solution here? I am struggling with the same thing and cannot find the post you are referring to. Thanks
tuanphan Posted August 21, 2023 Posted August 21, 2023 14 hours ago, ValueResonance said: Hi @SamKahn Could you post a link to the solution here? I am struggling with the same thing and cannot find the post you are referring to. Thanks Can you share site url? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
ValueResonance Posted August 21, 2023 Posted August 21, 2023 Hi @tuanphan https://www.valueresonance.space/ Thanks
ValueResonance Posted August 21, 2023 Posted August 21, 2023 @tuanphan This is what I am trying to do. For some reason, when I added the icon, the contact button disappeared in the menu
Joelh1509 Posted August 21, 2023 Posted August 21, 2023 17 hours ago, tuanphan said: Can you share site url? We can check easier Hey all,How did this happen? is there some code we use or am i missing an easier option? Kindest regards
tuanphan Posted August 22, 2023 Posted August 22, 2023 13 hours ago, ValueResonance said: @tuanphan This is what I am trying to do. For some reason, when I added the icon, the contact button disappeared in the menu You can add this to Website > Website Tools > Custom CSS .site-wrapper .header-menu .header-menu-cta a { background-color: var(--primaryButtonBackgroundColor) !important; } With icon, which code did you use to add icon? We can check it easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
ValueResonance Posted August 22, 2023 Posted August 22, 2023 @tuanphan /* LinkeIn icon color in banner */ body.homepage header#header a.icon { background-color: rgba(42,103,178,1) !important; } This is the code that Used to change the icon colour. I just used the standard options to add the icon. As usual, your suggestion worked! Thanks!
tuanphan Posted August 23, 2023 Posted August 23, 2023 14 hours ago, ValueResonance said: @tuanphan /* LinkeIn icon color in banner */ body.homepage header#header a.icon { background-color: rgba(42,103,178,1) !important; } This is the code that Used to change the icon colour. I just used the standard options to add the icon. As usual, your suggestion worked! Thanks! So did you solve problem or still need help? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
ValueResonance Posted August 23, 2023 Posted August 23, 2023 @tuanphan Progress but not solved. There are two problems. 1). The contact button appears now but ONLY if you `click´ it from the home page. From anywhere else it does not appear. 2). The entire menu is longer than the screen on some phones, and so both the `LI´ icon AND the contact button need to move up. Perhaps the menu items themselves need to move up too. Perhaps there is some default padding I can remove. It would be good if the solution contained some numbers that I can adjust to get the spacing right, but I guess that depend more on Squarespace than on you! Thanks
tuanphan Posted August 24, 2023 Posted August 24, 2023 #1. Header Style will inherit First Section Style. You set link color in other page is white, so it is invisible Use this to Custom CSS /* header mobile linkedin icon */ body.header--menu-open header#header div.header-menu-actions-action--social a { background-color: var(--menuOverlayNavigationLinkColor) !important; } #2. Use this CSS to move icon + button up .header-menu-actions, .header-menu-cta { position: relative; top: -100px; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
ValueResonance Posted August 24, 2023 Posted August 24, 2023 mmm. The 2nd part worked and now I can see the menu on all devices. I adjusted the 100px down and now it fits. Also, I now have the LI social icon on all menus , desktop and mobile. However, it appears in different colours. 1. Desktop: Home page (LI blue) Correct! /* LinkeIn icon color in banner */ body.homepage header#header a.icon { background-color: rgba(42,103,178,1) !important; } 2). Desktop: Other pages Pink as secondary button colour from `style 1´ Can I change the word `homepage´ in the code above to `all pages´ or some alternative to make this happen across all pages? 3). In Mobile the LI social icon appears in dark blue. I need to also change all these to the LI social blue to be consistent with the desktop. See images attached. Sorry for my horrible writing with a mouse! Hopefully its clear. Thanks
tuanphan Posted August 25, 2023 Posted August 25, 2023 #2. Just remove .homepage #3. Change #1 code to this /* header mobile linkedin icon */ body.header--menu-open header#header div.header-menu-actions-action--social a { background-color: var(--primaryButtonBackgroundColor) !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
ValueResonance Posted August 27, 2023 Posted August 27, 2023 On 8/25/2023 at 3:28 PM, tuanphan said: #2. Just remove .homepage #3. Change #1 code to this /* header mobile linkedin icon */ body.header--menu-open header#header div.header-menu-actions-action--social a { background-color: var(--primaryButtonBackgroundColor) !important; } @tuanphan#.. 2# Yes!! worked. Now desktop LI icon is in the correct blue 3# No. Did not work. I replaced the code in #1 as you say and it changes the desktop icon back to pink (The Primary Button color in that style). The mobile menu stayed the same. In your code you have written `PrimaryButtonBackgroundColor´. It seems like a mistake becuase it is clear that this would not be the right colour. Maybe I am not clear? You can see in #1. The blue color is a special colour just for this icon: /* LinkeIn icon color in banner */ body header#header a.icon { background-color: rgba(42,103,178,1) !important; } ----------------------------------------------------------------------------- See attached image. This blue has to become rgba(42,103,178,1)...same as desktop header. Am I explaining ok?
tuanphan Posted August 29, 2023 Posted August 29, 2023 If you want to change it to blue, same as desktop, use this new code /* header mobile linkedin icon */ body.header--menu-open header#header div.header-menu-actions-action--social a { background-color: #2a67b2 !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
ValueResonance Posted August 29, 2023 Posted August 29, 2023 9 hours ago, tuanphan said: If you want to change it to blue, same as desktop, use this new code /* header mobile linkedin icon */ body.header--menu-open header#header div.header-menu-actions-action--social a { background-color: #2a67b2 !important; } YES!!! Thanks again. tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment