fbpx
Introducing JD Builder - Now Beat the unbeatable designsDownload For Free
Welcome, Guest
Username: Password: Remember me

Building something on Astroid?

Submit your site to be featured in our monthly Astroid Site Showcase!

Submit Now

TOPIC: Can Astroid overrule Phoca Cart css??

Can Astroid overrule Phoca Cart css?? 4 months 2 days ago #15681

  • MarcB
  • MarcB's Avatar
  • Offline
  • Senior Member
  • Posts: 45
  • Thank you received: 1
  • Karma: 0
I've requested help in the Phoca Cart forums, but their is very little response there.

Phoca cart seems to overrule the Astroid css and (ofcourse) I don't want that

This is my normal css layout: 84.83.156.93/images/normalcss.PNG
This is opening the Phoca store: 84.83.156.93/images/phocacss.PNG & 84.83.156.93/images/phoca2css.PNG

Is there anyway I can have Astroid overrule Phoca's layout??

Hope you can help, otherwise I'll have to wait till they wakeup and give me an answer.
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 4 months 2 days ago #15682

  • MarcB
  • MarcB's Avatar
  • Offline
  • Senior Member
  • Posts: 45
  • Thank you received: 1
  • Karma: 0
ps. don't mind the dirty background. that's just to make it visual for myself it's the dev server ;)
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 4 months 1 day ago #15691

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 2965
  • Thank you received: 449
  • Karma: 94
Hi Marc,

In general inline CSS would always overrides what's in the stylesheets and even stylesheets (based on the order they are loaded onto the page) can override each other.

You'd need to write CSS in order to get this done and it's all possible.

Here is a very through article on the same topic to get you started.
www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#cascade

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 4 months 1 day ago #15715

  • MarcB
  • MarcB's Avatar
  • Offline
  • Senior Member
  • Posts: 45
  • Thank you received: 1
  • Karma: 0
:blink: :woohoo:

That's way over my head :( :dry: :lol:

But, all extensions "must" use the same "naming" right? and the last CSS is leading?
If so, it would mean either strip the Phoca CSS so it loads an empty file and Astroid will be leading, or make sure Astroid is the last loaded CSS.

Or am I thinking to simple now (which is not very uncommon :unsure: ) ?
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 4 months 1 day ago #15723

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 2965
  • Thank you received: 449
  • Karma: 94
You could definitely try to do that. Not sure if Astroid would have the CSS for same class names. The naming is unique to the extension (most of the times).

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 3 months 3 weeks ago #15855

  • MarcB
  • MarcB's Avatar
  • Offline
  • Senior Member
  • Posts: 45
  • Thank you received: 1
  • Karma: 0
I've tried, but doesn't do much good :(
Aligning the Phoca CSS is quite a big job to do.

To bad.
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 3 months 3 weeks ago #15865

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 2965
  • Thank you received: 449
  • Karma: 94
I know. It's something custom per extension and nothing we can do about it.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 3 months 3 weeks ago #15881

  • Phoca
  • Phoca's Avatar
  • Offline
  • New Member
  • Posts: 7
  • Thank you received: 3
  • Karma: 0
Hi,

only for your information, for now Phoca Cart HTML output is Bootstrap 3 HTML code. In next version, there will be parameter to switch to Bootstrap 4. The same for the icons. For now there is support for Bootstrap Glyphicons and Font Awesome icons. I next version there will be new option - Font Awesome 5, so it is fully integrated with Astroid.

All Phoca Cart CSS can be overriden (there is no !important rule used) and loading of CSS can be managed in Parameters.

See screenshot (Phoca Cart and Bootstrap4/Fontawesome 5 - will be possible i next version):



Jan
Phoca Cart - eCommerce platform for Joomla! CMS
Last Edit: 3 months 3 weeks ago by Phoca.
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 3 months 3 weeks ago #15894

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 2965
  • Thank you received: 449
  • Karma: 94
Thanks Jan.

Marc, looks like the next version should solve any problems you may be having?

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Can Astroid overrule Phoca Cart css?? 3 months 2 weeks ago #15909

  • MarcB
  • MarcB's Avatar
  • Offline
  • Senior Member
  • Posts: 45
  • Thank you received: 1
  • Karma: 0
Thanks Jan and Chetan!

Any idea when the next version will be available Jan?
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.264 seconds