CSS to align search box central
-
Hi
Great plugin!
Please can you advise how to make the search box align centrally on a page as by default it is left-justified?
Thanks
-
Hello,
Well it depends on theme that you are using.
Can you please give me the link where I can find working search form?Regards
Hi
The web site is currently under construction so not visible to public view but I am using the StoreCommerce Pro Theme from AF Themes?
Thanks
Well try to use styles like
.aws-container { margin: 0 auto; }This must help you.
Hi
Thanks for the style snippet – unfortunately this doesn’t work. Do you have any other suggestions?
Thanks
It is hard to help you with this without looking on your website.
Try another thing.desktop-header .search { text-align: center !important; }Have just done so and given you access.
Thanks
@mihail-barinov While I know you have the best of intentions, it’s forum policy that you not ask users or accept admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk.
If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums.
Thankfully are other ways to get information you need:
- Ask the user to install the Health Check plugin and get the data that way.
- Ask for a link to the http://pastebin.com/ or https://gist.github.com log of the user’s web server error log.
- Ask the user to create and post a link to their
phpinfo();output. - Walk the user through enabling WP_DEBUG and how to log that output to a file and how to share that file.
- Walk the user through basic troubleshooting steps such and disabling all other plugins, clear their cache and cookies and try again (the Health Check plugin can do this without impacting any site vistors).
- Ask the user for the step-by-step directions on how they can reproduce the problem.
You get the idea.
We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline.
When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers.
The topic ‘CSS to align search box central’ is closed to new replies.