Home › Forums › WoodMart support forum › Header Builder – Adjustment of icons
Header Builder – Adjustment of icons
- This topic has 7 replies, 2 voices, and was last updated 5 years ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 9, 2019 at 10:25 pm #162247
Jeriss Cloud CenterParticipantDear,
In the header, I’m trying to display the account icon in a similar way to the cart icon. However, the header builder has some limitations and does not provide such kind of options although on your demo store you have an example like that.
I managed to increase the size of the account icon, but i’m unable to add the space + vertical lign between the text & icon. How can I add it? See attachments
Thanks
Attachments:
You must be logged in to view attached files.December 10, 2019 at 10:16 am #162329
Aizaz Imtiaz AwanKeymasterHello,
I got your point that you want to display that vertical line after my account icon as like the cart icon.
As in the header builder account element does not contain that style as like the cart icon.
But you can try the below CSS code in global custom CSS area under theme settings >> Custom CSS:.my-account-with-icon{ border-right: 1px solid rgba(0,0,0,.1); }
Result: https://jmp.sh/YF9gU2r
OR
.my-account-with-icon a .wd-tools-text{ padding-left: 10px; border-left: 2px solid black; }
Result: https://jmp.sh/M5sfDPZ
Best Regards.
December 10, 2019 at 10:53 am #162347
Jeriss Cloud CenterParticipantI tried both on my header but they aren’t showing the same. Link below.
December 10, 2019 at 1:07 pm #162408
Aizaz Imtiaz AwanKeymasterHello,
I used the below CSS code in your global custom CSS area under theme settings >> custom CSS and it works just fine:
.my-account-with-icon{ border-right: 2px solid grey; }
Result: https://jmp.sh/oTNXwdq
For the divider after the account icon. I used the below CSS code in your global custom CSS area under theme settings >> custom CSS and it also works just fine:
.my-account-with-icon a .wd-tools-text{ padding-left: 10px; border-left: 2px solid red; }
Result: https://jmp.sh/aIszwPg
You can change the color name according to you from the above CSS code.
Best Regards.
December 10, 2019 at 1:45 pm #162425
Jeriss Cloud CenterParticipantDear,
Thanks for the help, I adjusted a little more but still not fully 100% same, especially with the height of the line. How can I adjust that?
I moved the code in “CSS Desktop”
THanks
Attachments:
You must be logged in to view attached files.December 10, 2019 at 2:31 pm #162454
Aizaz Imtiaz AwanKeymasterMost Welcome,
Actually that was the border line. So to increase the height we must have to increase the height of the box which contains the name after the my account icon and also the text moves little upward by increasing the height.
If you are ok with it then let me know so I will provide CSS code accordingly.
Best Regards.
December 10, 2019 at 2:34 pm #162455
Jeriss Cloud CenterParticipantI found it thanks to your explanation :
line-height: 20 px
thanks!
December 11, 2019 at 5:26 am #162564
Aizaz Imtiaz AwanKeymasterMost Welcome!!!..
Well, gevcen!.., it’s been great chatting with you! I hope I resolved your issues thoroughly.
Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Have a wonderful day.
Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Header Builder – Adjustment of icons’ is closed to new replies.
- You must be logged in to create new topics. Login / Register