Learning CSS...stumped on this

  • Posts: 208
  • Thank you received: 10
10 years 1 month ago #199161

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4

I am trying to put a box around the Alphauserpoints section in the cart.

I did an inspect element and found that it's a fieldset. Yet I don't know how to alter this code to put a box around it.





I've tried this but it didn't work.
#hikashop_userpoints_status > fieldset
border:1px solid black;
)
Any help?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83831
  • Thank you received: 13572
  • MODERATOR
10 years 1 month ago #199189

Hi,

As you can see on your screenshot, there is already a border 0 for fieldsets in the bootstrap.css file of your template.
So it might override your CSS.
Adding !important to your CSS will force it to override your template's CSS.
Also, it could be that your CSS hasn't been added properly and thus generated an error preventing the browser from parsing it.
Or it could be that you have the cache of your browser on the file where you added your CSS and thus you need to fush the cache of the browser in order to see the change.

Please Log in or Create an account to join the conversation.

  • Posts: 208
  • Thank you received: 10
10 years 1 month ago #199229

OK. I'll try to override what's already there and see if that works.

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.043 seconds
Powered by Kunena Forum