I have a category with about 5 extra fields.
One of these extra fields contains a PayPal Buy Now button and I have named the field 'buy:'
What I would like to do is remove the 'buy: text when displayed in the front end.
I can hide all the itemExtraFieldsLabel font using
div.itemExtraFields ul li span.itemExtraFieldsLabel {
color: #FFF
}
So the selectors to this point appear to be correct,
but I am trying to use an attribute selector to hide the field that contains 'Buy:' the code generated by K2 is '<span class="itemExtraFieldsLabel">Buy:</span>' so I have tried using:
div.itemExtraFields ul li span.itemExtraFieldsLabel[Buy:] {
color: #FFF
}
but this doesn't work.
Can anyone point me in the right direction with this?
Also is there a better way to hide the text instead of matching the color with the background?
One of these extra fields contains a PayPal Buy Now button and I have named the field 'buy:'
What I would like to do is remove the 'buy: text when displayed in the front end.
I can hide all the itemExtraFieldsLabel font using
div.itemExtraFields ul li span.itemExtraFieldsLabel {
color: #FFF
}
So the selectors to this point appear to be correct,
but I am trying to use an attribute selector to hide the field that contains 'Buy:' the code generated by K2 is '<span class="itemExtraFieldsLabel">Buy:</span>' so I have tried using:
div.itemExtraFields ul li span.itemExtraFieldsLabel[Buy:] {
color: #FFF
}
but this doesn't work.
Can anyone point me in the right direction with this?
Also is there a better way to hide the text instead of matching the color with the background?