Forums › Premium Settings › Infobox and Search Form Custom Themes
- This topic has 6 replies, 4 voices, and was last updated 6 years, 10 months ago by
emilien.
-
AuthorPosts
-
May 13, 2014 at 9:27 pm #31416
christinereal
MemberI saw in the admin settings that you can setup files in your child theme to create a custom search results theme so that the files won’t interfere with any plugin updates.
Is there a way that this can be done also for search form themes and infobox themes? I tried to follow the same structure as you outlined for the search results by mirroring the folders in my child theme, but it didn’t seem to pull in my custom theme.
Let me know if this is a possibility or how you would recommend me to tweak the search form and infobox templates and avoid wiping out those changes whenever the plugin/addons get updated.
Thanks so much,
ChristineMay 13, 2014 at 9:54 pm #31421Eyal Fitoussi
MemberIt is definitely possible.
You should be able to do so with search forms and info box.for search forms it should be:
your-theme or chile-theme folder/geo-my-wp/posts/search-forms/your-custom-results-folderfor infoboxes
your-theme or chile-theme folder/geo-my-wp/posts/info-window-templates/infobox or popup/your-custom-folderDoing so you should be able to choose your custom themes in the form builder. If you have any issues let me know.
Thank you
May 18, 2014 at 5:10 pm #31420christinereal
MemberHi Eyal,
The search forms worked! The Infoboxes almost worked…I created the folder structure in my child theme and my custom theme shows in the infobox theme dropdown.
In my child theme I have
/geo-my-wp/posts/info-window-templates/infobox/ecobiz/css/style.css
/geo-my-wp/posts/info-window-templates/infobox/ecobiz/content.phpHowever, it’s not finding the .css file. There are no styles pulling into my custom theme infoboxes. Let me know if I missed something.
Thanks,
ChristineMay 20, 2014 at 12:24 am #31419Eyal Fitoussi
MemberHi Christine,
I am marking this topic as resolve since the issue was fixed after the recent updates, Correct?
If otherwise please let me know.Thank you
May 20, 2014 at 3:27 pm #31418christinereal
MemberHi Eyal,
Actually it’s not quite resolved yet.
My custom infobox theme is now showing in the dropdown options for infobox themes, however it is not properly reading the css file and also the javascript to close the box isn’t working.
I copied the styles from the default infobox theme and put them in my root stylesheet, so now styles are showing up, however I’d like to put my styles in the css file within the infobox folder to keep things organized.
Please let me know if you can fix the stylesheet issue and also why the close button isn’t working. Here is a link to my site: http://ecobiz.sites.entersubtext.com
Thanks,
ChristineApril 15, 2015 at 10:19 pm #31417Peak Creative
MemberHave the paths changed for adding a custom infobox? I’ve used the paths above as well as following the instructions in the style.css file for the default theme, and neither are working. Maybe the paths have changed since the release of the Premium Add-On?
123456789* You could but It is not recomemnded to edit this file directly as your changes will be overridden on the next update of the plugin.* Instead you can copy-paste this template ( the "default" folder contains this file and the "css" folder )* into the theme's or child theme's folder of your site and apply your changes from there.** The template folder will need to be placed under:* your-theme's-or-child-theme's-folder/geo-my-wp/posts/info-window-templates/infobox/** Once the template folder is in the theme's folder you will be able to choose it when editing the Posts Locator form.* It will show in the Infobox tempaltes dropdown menu as "Custom: default".August 27, 2015 at 4:12 am #43376emilien
MemberHi! same question here: I can’t get custom templates to work and I guess this is a path issue… any help on this please?
thank you so much in advance, have a great day,
Emilien
-
AuthorPosts
You must be logged in to reply to this topic.