Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

how to connect your .css
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: how to connect your .css

how to connect your .css 6 years, 8 months ago #35898

Hi,

Please, tell me how to connect my css file?
I created my css file style.css (template/market/css/style.css), added a line

$doc = JFactory::getDocument();
$baseUrl = JUri::base();
$doc->addStyleSheet($baseUrl.'templates/'.$this->template.'/css/style.css');

to file index.php. The file was connected, but the styles did not apply. The styles were applied only after adding !important in each line style.css
Thaks You.
My English is bad so I can not find on the forum the answer.

Re: how to connect your .css 6 years, 8 months ago #35919

Dear annapolis

you can add your css in our template via the admin prntscr.com/irupjf

thanks
The following user(s) said Thank You: annapolis
  • Page:
  • 1
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes