0
Welcome Guest! Login
0 items Join Now

Override btn class with button styles?

  • Override btn class with button styles?

    Posted 6 years 1 month ago
    • Not sure if you can help with this, but I'm trying to figure out the efficient way to change Joomla componetns using standard 'btn' classes to inheret the Gantry template button CSS.

      Is there a way to override the selector globally or do I need to create template overrides for each component and change all instances of 'btn' to 'button'?

      For example, changing Bootstrap btn…

      This image is hidden for guests.
      Please log in or register to see it.


      to Gantry button…

      This image is hidden for guests.
      Please log in or register to see it.



      Thanks,
      Howard
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Override btn class with button styles?

    Posted 6 years 1 month ago
    • Just use custom CSS and restyle the btn class to what you want.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.049 seconds