Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
Duplicate Search Bar
Avatar
Justin Neaves
Member
Free Members
sp_UserOfflineSmall Offline
Oct 28, 2015 - 9:13 pm

I had the issue with the default code and decided I wanted to purchase the premium Reboot theme anyways and thought maybe that would fix the issue but it did not.  

There are two search bars and one overlays over the other.  Not sure what has happened, sorry.  The software seems solid overall!  Thanks for any help!

SimplePressSearch.jpgImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 29, 2015 - 5:27 am

Can you give us a link to your forum page so we can take a close look?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Justin Neaves
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2015 - 8:49 am

It's not live, sorry.  I can make you an Admin and log in to see.. would that work?  

Justin

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2015 - 9:03 am

Sure, if you could make the account a WP admin and a Simple:Press admin and then PM the login details to myself, Yellow Swordfish and Mr Papa with a link to this thread and one of us can take a look.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2015 - 10:26 am

So the Reboot theme's code is completely standard / unchanged?

It looks as though the quicklinks menu is being picked up by the theme as a .selectBox-dropdown and duplicated.

I can see it in the HTML as another quicklinks menu using the .selectBox class then mangled in with SP classes, although I'm not sure why.

Are there any settings that go with the theme revolving around dropdowns that might be relevant here?

Avatar
Justin Neaves
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2015 - 10:31 am

Ike said
So the Reboot theme's code is completely standard / unchanged?

It looks as though the quicklinks menu is being picked up by the theme as a .selectBox-dropdown and duplicated.

I can see it in the HTML as another quicklinks menu using the .selectBox class then mangled in with SP classes, although I'm not sure why.

Are there any settings that go with the theme revolving around dropdowns that might be relevant here?

I have not changed the forum code at all.  I'm not yet proficient in customizing code so I don't touch much unless I'm completely positive it will work.  Should I delete all the SP files and start over?  Not sure if that would help or not.  I'm using a child theme for ClassiPress and it hasn't cause any drop down issues anywhere else that I have noticed.  I apologize I may not be much help with this.  

Justin

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 29, 2015 - 10:35 am

I have a feeling this might be something to do with Page Builder. Is it possible top turn that pff to see what happens?

And the AddThis plugin is causing an undocumented errot of some sort although I am not sure of that is having a negative effect or not.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Justin Neaves
Member
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2015 - 7:54 pm

Sorry for the delay.  I was held up at work longer than expected.. and I believe we have some what of a time difference.  

And to clarify.. it's actually duplicating the Search Forum, not Search bar.  Sorry for not being clear.  

I deactivated Page Builder, Add This, and some other petty Plugins and it didn't change it.  I deleted my cache and cookies..  same thing.  Do I need to reinstall everything you think?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 30, 2015 - 6:37 am

I thought yesterday that I had never seen this phenomenon before but remembered, this morning, a couple of instances quite a long time back, that were similar. If I recall correctly it was in a WordPress theme called 'ClassiPress' or something like that.

And it is your WP theme that is causing this issue. For some reason, and I really have no idea why it should do so,  it is adding HTML to certain display tags. And this is the case with the forum quick links dropdown which is causing the odd display of a second, ghost control.

There are, more or less, 3 options. The first is to use a different WP theme but that is perhaps the most difficult to do as users invest a lot of time in their theme.

The second option - and my personal favourite - is to get in touch with the theme authors and ask them to provide a permanent fix.

The third option is to provide a simple work-around. IF your WP theme provides - as many do - a place in the WP admin where you can add CSS code then that is where to go to. If not then you will need to add the following to either the WP theme CSS styles.css - or - and this is the best way to go - create an SP forum child theme. That is actually a lot simpler than it sounds.

As far as I can work out you will need to add the following CSS:

#spMainContainer .selectBox-dropdown {
    display: none !important;
}

Note this is not ideal - the use of the !important rule is frowned upon - but in this case we need to hit the theme's nut with a sledge-hammer!

so - if you go down this route - download the 'Reboot Child' theme from our store (it is free) and load it onto your SP themes folder. In the forum themes panel choose the child theme instead of Reboot. Things in your forum page should look the same.

Then - in the 'reboot-child.css' file in the child theme's 'styles' folder - add the CSS above.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Justin Neaves
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2015 - 6:13 pm

My Theme is not one that I like but yes I have spent too much time on it to change.  It has some nice features but lacks a ton of other nice features.

Anyways, I adding the child theme and added the CSS and it fixed it.  Works nicely.  

For what it's worth..  your attentiveness and help has been so much better than my Themes.  Really, thank you for the help.  I'm a fan and promoter of Simple Press.

Justin 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17357
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10123
Posts: 79616