fbpx

Astroid 2.4 Landed with Joomla 4 Compatibility Download Now

Welcome, Guest
Username: Password: Remember me

TOPIC: Change primary and secondary button and text colors

Change primary and secondary button and text colors 1 year 5 months ago #13335

Hello,

When you have changed the colors in the astroid framework, all buttons and text-addition colors remain yellow.
In the css the colors point to $primay and $secondary, is this what needs to be changed to change all references in 1 go?
If yes, please tell me how :)
Thank you
The administrator has disabled public write access.

Change primary and secondary button and text colors 1 year 5 months ago #13395

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3760
  • Thank you received: 573
  • Karma: 98
Hello,

Please follow the steps.

  1. Create a folder in scss directory named custom.
  2. In custom folder create a variable.scss file.
  3. Open the style.scss file and add the following line under the "bootstrap/functions"
    Path: templates/TEMPLATENAME/scss/style.scss
@import "custom/variable";

Thanks,
Chandan
Attachments:
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

Change primary and secondary button and text colors 1 year 5 months ago #13733

Quick question:
How is creating an empy file going to help this problem?
Thank you
The administrator has disabled public write access.

Change primary and secondary button and text colors 1 year 5 months ago #13740

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3760
  • Thank you received: 573
  • Karma: 98
Hello,

If I am not wrong. I think you are asking for how to create a file. I have created video regarding this. Please have a look.

1. Create a file through FTP: www.screencast.com/t/Ah9imTnRA
2. Create a file through cPanel: www.screencast.com/t/ABrxA9rxMGe

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

Change primary and secondary button and text colors 1 year 5 months ago #13756

Hello Chandandeep,

Creating a file is easy :) that was not the question.
But creating a file and leaving it empty, how will this help the buttons?
I have changed button colors in variables override again but hope new updates will leave things in place. I am a bit scared now of updating to new astroid version.
The administrator has disabled public write access.

Change primary and secondary button and text colors 1 year 5 months ago #13780

  • roshan jajoriya
  • roshan jajoriya's Avatar
Hello
You Don't have to leave blank of the variable.scss file. Put your variables $primary and $secondary color in this file.
Path :- templates/TEMPLATENAME/scss/custom/variable.scss
Last Edit: 1 year 5 months ago by Lalit Kumar.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.347 seconds
Cron Job Starts