Support Forum

Clear instruction on how to upgrade from 4.5.1

36 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – I think we are nearly there.
The problem – of anyone is interested – is that the theme defined this style to be very broad so it will effect ALL select boxes…

Try the same thing but this time preface the selectBox-label with the same .searchbutcat – in fact you coiuld just preface any mention of selectBox.

Hope that fixes it up.

LA LauraE
LauraE
Member

Nope, that link doesn’t want to go away..

Here’s the line of code I found, and I’ve tried different ways to preface it..

 

.selectBox-dropdown .selectBox-label{width:100%; padding:0

YS Yellow Swordfish
Yellow Swordfish
Member

Is that the only reference?

Then try replacing that line with

.searchbutcat .selectBox-dropdown,
.searchbutcat .selectBox-label { width:100%l padding:0 }

See if that fixes it.

LA LauraE
LauraE
Member

LauraE said

Nope, that link doesn’t want to go away..

Here’s the line of code I found, and I’ve tried different ways to preface it..

 

.selectBox-dropdown .selectBox-label{width:100%; padding:0

And I just noticed that when I put:

.selectBox-dropdown .searchbutcat .selectBox-label

That is messes up the text on the rest of the site that uses dropdown…

LA LauraE
LauraE
Member

Yellow Swordfish said

Is that the only reference?

Then try replacing that line with

.searchbutcat .selectBox-dropdown,
.searchbutcat .selectBox-label { width:100%l padding:0 }

See if that fixes it.

Nope, already tried that one..How can I add code to the forum, so I can show you what’s in the file?

YS Yellow Swordfish
Yellow Swordfish
Member

OK – let’s peg this sucker once and for all…

How about

.searchbutcat .selectBox-dropdown .selectBox-labe

l

Tried that?

How abut this:

#spMainContainer .selectBox-label { display: none; }

You don’t need to show me the CSS – I can see that already on your site.

LA LauraE
LauraE
Member

Yellow Swordfish said

OK – let’s peg this sucker once and for all…

How about

.searchbutcat .selectBox-dropdown .selectBox-labe

l

Tried that?

How abut this:

#spMainContainer .selectBox-label { display: none; }

You don’t need to show me the CSS – I can see that already on your site.

The first one doesn’t work, and the second one just made the whole label bigger, as you can see on the site..am I suppose to have the {display: none;} in there too?

LA LauraE
LauraE
Member

Okay, redid the second as shown, but on the homepage in the categories dropdown menu the text is messed up..but fixed it on the forum though 😀

 

I’ve put the code back the way it was, as I need to make dinner, but I’ll be back 🙂

HA Harrzack
Harrzack
Member

As I posted earlier, I’m having this issue too, with ClassiPress 3.17 and SP 5.0.  First I turned off all plugs, to no avail. Then I took out Classipress by switching (preview) to the Twenty-Eleven theme – and voila!  SP double menu issue was fixed.

At first I thought it might be with the Custom Search plug-in as it does have the selectBox rules in it. But disabling that plug did NOT help.

So it would seem something in CP is causing the conflict.  Sadly there is rarely much help on the CP forums – it takes many days  to even get noticed…  so this will be a toughie.

Don’t know if this is part of it, but I also notice the labels on the left side over-lap a bit with the icons…  I’ve got a child theme working so may be able to address that there.

YS Yellow Swordfish
Yellow Swordfish
Member

Well we would still like to hear back from some of you guys…

HA Harrzack
Harrzack
Member

Next idea: It appears that the style.css file in ClassiPress has some code that be causing the conflict.  See Enclosure.

When I view the problem area in Firebug – and click on the apparent dupe-dropdown, it shows line 168 of style.css – from the ClassiPress main.  Along with this I’m seeing the proper SP css styles – so it appears the line 168 code should NOT be appearing here.

I am running a child theme for both ClassiPress and SP  My css knowledge is a bit rusty – I see the suggestion of creating a class name for SP – just now sure how/where to do/try the fix.

Help!  laugh

=Alan R.

MP Mr Papa
Mr Papa
Member

is there a link in this thread somewhere???

so figure out what classipress style is overriding the forum style (it will have a line through it) and override it… with !important or a more specific hierarchy…

HA Harrzack
Harrzack
Member

Attempted to include a screen shot of the css – dragged and dropped to the pane – but image never appeared – will try again – looks like it is in now. This is a snapshot of the Firebug display for the problem.

 

Here is a link to the page:   http://www.swapyourmama.com/forum/

I’ve tried a couple over-rides in my CP child theme to no effect – think my css knowledge is too weak.

It def appears as though the CP style is being used, but I don’t understand why – there is no such reference I can find in the SP code.

 

=Alan R.

YS Yellow Swordfish
Yellow Swordfish
Member

Has anyone tried my last suggestion?

MP Mr Papa
Mr Papa
Member

Andy’s code in post #21 was awful damn close and should have gotten you there…

add:

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

to your wp theme… its because the theme is globally applying select styles to anything it find in the pages…