- This topic has 15 replies, 3 voices, and was last updated 5 years, 3 months ago by
David.
-
AuthorPosts
-
December 1, 2020 at 9:59 am #1561406
Sourabh
HI,
How to reduce the height of the search widget in the sidebar, at present it’s looking like below –
https://www.dropbox.com/s/dfkb3y0a2xepuzv/Search%20Box%20in%20side%20Bar.png?dl=0
so I want to reduce the height from top and bottom and wants to remove the colour of search icon so that I can get below look –
https://www.dropbox.com/s/v9ani3o9n8c9nds/Search%20Box%20in%20side%20Bar%201.png?dl=0
Also, find reference URL below if you need help to see via inspecting elements etc.
December 1, 2020 at 11:21 am #1561737Leo
StaffCustomer SupportHi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know 🙂
December 1, 2020 at 3:14 pm #1562293Sourabh
Yes.. check
December 1, 2020 at 3:52 pm #1562369Leo
StaffCustomer SupportThe link isn’t working for me.
Can you double check?
December 1, 2020 at 3:53 pm #1562373Sourabh
Due to https its giving issue sometimes… I will change host this month…
Give a retry…
December 1, 2020 at 3:57 pm #1562382Leo
StaffCustomer SupportNo luck – it just says This site can’t be reached.
December 1, 2020 at 4:33 pm #1562428Sourabh
Ohh.. it happens sometime…can’t u understand by above giving urls..
?
December 1, 2020 at 7:49 pm #1562631Leo
StaffCustomer SupportI need to see the page in question so please sort that out first.
Thanks!
December 3, 2020 at 4:34 am #1565463Sourabh
Hi,
Check the link is working now, I have updated SSL, Problem is resolved now…
December 3, 2020 at 7:22 am #1565907David
StaffCustomer SupportHi there,
try this CSS:
.is-right-sidebar .widget.widget_search { padding: 20px; -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.08); box-shadow: 0 2px 4px rgba(0,0,0,.08); } .widget .search-form { position: relative; } .is-right-sidebar .widget.widget_search label { width: 100%; } .is-right-sidebar .widget.widget_search input[type="search"] { padding: 5px 40px 5px 15px; background-color: #fff; } .is-right-sidebar .widget .search-form button.search-submit { padding: 5px; background-color: transparent; color: #000; position: absolute; right: 10px; }December 3, 2020 at 7:39 am #1565938Sourabh
Hi David,
You did a great job, but seems something incorrect in css, I have attached a snapshot if you can rectify the problem of the area, Another this is that, when I try to search something using the same search box, we don’t get a search result Instead it’s redirecting to the posts page ???
https://www.dropbox.com/s/6jos81n669gng0j/area%20of%20problem.png?dl=0
its site reference for your testing purpose –
https://venusentertainments.com/89-proven-ways-to-make-money-with-your-blog-in-2020
December 3, 2020 at 9:03 am #1566097David
StaffCustomer SupportI have correct the CSS here:
https://generatepress.com/forums/topic/height-reduce-for-search-widget-in-side-bar/#post-1565907
Looks like you have created archive pages with Elementor – the theme has no control over there conditional displays, you would need to ask Elementor support regarding that issue.
December 3, 2020 at 9:13 am #1566118Sourabh
Yes, you are true, I have created an archive template in elementor ?
So you mean it’s happening because of the archive template ??
If I remove it then how should I display posts etc, does GP having such a facility?
December 3, 2020 at 12:28 pm #1566356Leo
StaffCustomer SupportSo you mean it’s happening because of the archive template ??
Yes that’s what David is saying.
If I remove it then how should I display posts etc, does GP having such a facility?
Yes – GP displays posts on the posts page (this is a WordPress functionality) and you can use the customizer options here to modify the layout:
https://docs.generatepress.com/article/blog-content-layout/December 18, 2020 at 7:01 am #1586012Sourabh
It’s resolved now, Thanks David for your CSS help.
-
AuthorPosts
- You must be logged in to reply to this topic.