This topic has 17 replies, 4 voices, and was last updated 4 years, 10 months ago ago by John Holden
I copied this “woosearchform.php” file into the child theme for changes to the search bar at the top of the layoput but it seems to have no effect. Because?
Thank you
Hello,
You have no effect because that form is not for the header builder element. Header builder elements are located at XStore core plugin.
1) To disable categories go to Theme Options > Header builder > edit search element and disable Search by category https://gyazo.com/09eaad53f4f2aca5d2aa27c0eca33c75
2) Add the following code to Theme Options > Custom CSS to get search title instead of the icon
.et_b_header-search.et_element-top-level .input-row .search-button:before {
content: 'Search';
padding: 0 20px;
}
.et_b_header-search.et_element-top-level .search-button svg {
display: none;
}
.et_b_header-search.et_element-top-level .search-button {
width: auto;
}
Regards
Thanks for this solution but I would like to modify the .php file is it possible? Can you say where?
Hello,
et-core-plugin/app/models/customizer/templates/header/parts/search.php file in the XStore core plugin but we don’t recommend you editing of that file because we release regular updates for the core plugin and you will lose your customization after plugin update.
Regards
OK! I got it.
Also to modify “Categories” from the mobile menu with another item, I can’t do it on .php?
Hello,
It’s also part of the header builder. Do you want to change the title “Categories” or content that you get under this tab of the mobile menu or you want just disable it?
Regards
I would like to change the title
Hello,
Use translation files of the XStore core plugin. Follow the instructions https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/ , use Loco Translate plugin and instead of translation core plugin to another language create the translation for your language and change the categories to anything you need.
Regards
I don’t understand … Isn’t it enough just to take one of these files you provide and send via ftp to a folder? If yes, where?
https://prnt.sc/qv73gs
I tried to upload the files you provide in the “language / themes” folder but nothing happens. Do you know why? I am using child theme
https://prnt.sc/qv9nv7
Hello,
What is the language of your site (Dashboard > Settings > General > Site Language)?
Install Loco translate plugin, you will be able to disable the plugin once translation/changes will be done. The plugin is required to sync existing translation files https://www.8theme.com/documentation/xstore/theme-translation/translation-files-update/ It is not enough to just place files to the folder, go to Loco translate > Themes > XStore > open translation of your language > sync translation > find and translate strings > Save changes. As was mentioned “Categories” should be changed via translation of Core plugin, so go to Loco translate > Plugins > XStore Core > create translation to your language (languages/plugins folder) > http://prntscr.com/qvg90j
If you need any further assistance, provide URL of your site and temporary FTP access.
Regards
I have problems as you can see from the image. I sent site and ftp access.
https://prnt.sc/qvhj3s
Tank
Hello,
CMB2 and Core are 2 different plugins. I’ve created a translation for Core plugin on your site. Please check – http://prntscr.com/qvi3xo > http://prntscr.com/qvi45t
Regards
Thanks Rose, great!
Can you make me understand how you proceeded? I would not like to request again.
To continue the translation of the Core plugin follow these screenshots – http://prntscr.com/qvinwx > http://prntscr.com/qvio2c > http://prntscr.com/qviodi
For the theme – http://prntscr.com/qviomq > http://prntscr.com/qviosh > http://prntscr.com/qvip2h
Let us know if you need any further assistance.
Regards
ok tank. There are other parts that we can’t translate. I open another Post so as to be of help to other users.
Hi,
Please consult here https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
Regards,
Hung PD
You must be logged in to reply to this topic.Log in/Sign up