Recent searches
No recent searches
Change the Search bar position and add the social media links to the footer
Answered
Posted May 17, 2018
Hello, I'm trying to :
1. Move the search bar from the middle position to the upper left corner
Example:
2. Want to add the footer to include the company website link/social media link etc
Can anyone please help? Thanks!!
Best,
Coco
0
6
6 comments
Trapta Singh
Hi @Coco,
In order to answer your first question, I see that you are using Copenhagen theme, go to your header.hbs file and replace the code from line no. 2 to line no. 6 with the below code -
Now go to your style.css and paste the below code at the bottom of your file -
Now go to your home_page.hbs file and paste the below code at the top of your file.
Let me know if you face any issues.
Thanks
Team Diziana
0
Karkka (Toby CS)
Hi @Trapta,
Thank you so much for your help. I have pasted the code and it's working. However, is it possible to only move the search bar to the upper left corner of Home Page and keep the same position on others page?
The category, section and article page (want to remove the search bar at the upper left corner and keep the original one.
For the mobile layout, the size of the search bar is a bit too long, can you please advice how to adjust the size on mobile devices?
Best,
Coco
0
Trapta Singh
@Coco,
I have updated my code in the above comment. Please give it a shot and let me know if you face any issue.
Team Diziana
0
Karkka (Toby CS)
Hi @Trapta,
I have tried again but still the same. Could you please have a look again.
- The category, section and article page (want to remove the search bar at the upper left corner and keep the original one. )
- For the mobile layout, the size of the search bar is a bit too long.
Thank you!!
Best,
Coco
0
Trapta Singh
@Coco,
Are you sure you have added the updated code? Make sure that you have replaced all the code with the updated one which includes HTML, CSS, and JS.
I looked at your HC and it seems like you missed the code. However, I have updated it again to reduce the size of the search bar on mobile devices.
I have also highlighted it in the code so that you can reduce the width of search bar as per your need.
Let us know if you face any issue.
Team Diziana
0
Karkka (Toby CS)
Hi @Trapta,
Thank you so much!! It's working now and looks perfect!
Best,
Coco
0