GD Compatibility Pack for X released
This topic contains 97 replies, has 10 voices, and was last updated by John Allsopp 9 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Geodirectory, x theme
-
AuthorPosts
-
July 28, 2014 at 2:33 pm #10139
ok, got it john…
is there any easy way to do it that you can think of?
tks!!
July 28, 2014 at 10:13 pm #10172There are a few ways to do it, but they would all require quite a bit of modification.
Thinking out loud, you could either write a query for the pages where you want the full width search, then remove the top area from those pages, and re-hook it somewhere else…
…or…
create a new widget area just for your search, and hook that in to the top of every page.You will need to take account of whether you will have anything else in the gd top widget areas for listing / detail/ author etc – in which case, option 2 would probably make more sense.
July 29, 2014 at 3:45 pm #10241thanks man!!
I liked the widget area for the search on every page.
is it easy for a dumb engineer that doesnt know how to code? lol
July 29, 2014 at 10:05 pm #10294hey man, since we’re talking about widgets, is there any possibilitty to change the widget spacing? like I show on the image the 4 curved lines.
August 5, 2014 at 8:55 pm #11086hey John,
managed to change the spaces between widgets,
the only problem i’m still finding is the search bar, the thing about the CPT selector, that I had to change the % but it is too small on mobile, it should be responsive for a better result
any news on this matter?
August 5, 2014 at 9:21 pm #11093Hi,
It looks like you added this somewhere as an inline style, so it is overriding the plugin’s style?.widget .geodir-search select { width: 20%; }
August 5, 2014 at 9:57 pm #11098I added this above code in X > Customizer > Custom CSS
you some posts behind told me:
Renew is overriding a style for the search which i need to include (thanks for spotting it)
Try something like this as a start.widget .geodir-search select {
width:26%;
}and then you told me to add another code in plugin.css; and that after an update it would be all right.
any way to show a % at the desktop and another % on mobile or a responsive search bar (better)?
thanks!! =)
August 5, 2014 at 10:13 pm #11100I’m not sure if Paolo has had chance to upload the latest version yet – he’s been very busy.
If you look in plugin.css for the advanced search bar, you will see the section with widths. Make sure it is the same as this >.widget .geodir-search select, .geodir-search input[type="text"] { width: 28%; } .geodir-search input[type="submit"], .geodir-search input[type="button"] { line-height: 19px; margin-right: 0; width: 11%; }
Also, make sure you have this at the very bottom of plugin.css >
/* Media Queries --------------------------------------------------- */ @media only screen and (max-width:767px) { .widget .geodir-search select, .geodir-search input[type="text"], .geodir-search input[type="button"], .geodir-search input[type="submit"] { margin: 0 0 10px; width: 100%; } }
August 5, 2014 at 10:18 pm #11101I’m about to…
August 5, 2014 at 11:07 pm #11107it changed nothing, because I think it is getting the % from the code
.widget .geodir-search select {
width:20%;
}when I take it off the search bar goes back to 1 line CTP an other the search boxes
August 5, 2014 at 11:47 pm #11111After the update, some problems:
– it is not respecting the width within the theme and
– the search bar is strange againscreen atached
August 5, 2014 at 11:53 pm #11113sorry, it is in fact giving me a fatal error and not activating the plugin:
Fatal error: Cannot redeclare x_breadcrumbs() (previously declared in /home4/lele0901/public_html/vitrine.vc/wp-content/themes/x/framework/functions/global/breadcrumbs.php:21) in /home4/lele0901/public_html/vitrine.vc/wp-content/plugins/geodir_x_compatibility_1.0.1/geodir_x_compatibility.php on line 272
is it because of the version? mine is 2.2.0
August 6, 2014 at 10:04 am #11146Hi,
I have removed the breadcrumb function so that the plugin can be activated.
I removed your custom css that was overriding the search css – you will see it is now responsive.The usual order of things in WordPress is for plugins to load before themes – in your case, the theme appears to load before the plugin which is causing the fatal error. I will ask @stiofan if he has any ideas why.
August 6, 2014 at 5:57 pm #11179Thanks John, it seems fine now! it is responsive.
I have no idea at all about why it might be loading before the plugin.
August 8, 2014 at 10:03 pm #11430I’m having experiencing the same problem. I get a fatal error when trying to activate the GeoDirectory – X Theme Compatibility plugin. I have the GeoDirectory Plugin along with the X Theme.
Fatal error: Cannot redeclare x_breadcrumbs() (previously declared in /home/qwikeysc/public_html/wp-content/themes/x/framework/functions/global/breadcrumbs.php:21) in /home/qwikeysc/public_html/wp-content/plugins/geodirectory-x-theme-compatibility-pack/geodir_x_compatibility.php on line 267
Please assist.
Thanks in advance!
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket