OS Property support center

Bug in frontend_style.css

  • Farrell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago - 3 years 5 months ago #139065 by Farrell
Bug in frontend_style.css was created by Farrell
In line 20:
Code:
ul{list-style:none outside none}


This rule is of course a disaster. It will of course destroy a template.

if then
Code:
.propertyContent ul{list-style:none outside none}
Last edit: 3 years 5 months ago by Farrell.

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

More
3 years 5 months ago #139067 by Mr. Dam
Replied by Mr. Dam on topic Bug in frontend_style.css
Hi Christian,
Have you checked different cases, i am afraid it will effect to different layouts of OS Property
Thanks
Dam

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

  • Farrell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #139076 by Farrell
Replied by Farrell on topic Bug in frontend_style.css
It may be that it has an effect somewhere else but you can't build such a rule without id or class

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

More
3 years 5 months ago #139091 by Mr. Dam
Replied by Mr. Dam on topic Bug in frontend_style.css
Hi Christian,
In the meantime, you can remove the line
Code:
ul{list-style:none outside none}
in file: frontend_style.css
and add
Code:
.propertyContent ul{list-style:none outside none}
in OS Property Configuration -> Tab: Custom CSS
and we will check to see if you have any problems with LI tags in different places in OS Property
Thanks
Dam

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

  • Farrell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago #152656 by Farrell
Replied by Farrell on topic Bug in frontend_style.css
I wanted to ask if the gross CSS errors will be fixed. That the frontend_style.css not constantly overwrite style from the page template?
When will you define your own classes for your component?

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

More
1 year 9 months ago #152658 by Mr. Dam
Replied by Mr. Dam on topic Bug in frontend_style.css
Hi Christian,
You can use tool: Custom CSS in OS Property Configuration to override existing CSS in frontend_style.css
Thanks
Dam

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

  • Farrell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago #152659 by Farrell
Replied by Farrell on topic Bug in frontend_style.css
Sorry you do not understand. The frontend_style.css is an absolute disaster and makes css appear everywhere because you/the team don't use your own classes or id.

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

More
1 year 9 months ago #152661 by Mr. Dam
Replied by Mr. Dam on topic Bug in frontend_style.css
Hi Christian,
Could you please give us some examples?
Thanks
Dam

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

  • Farrell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago - 1 year 9 months ago #152664 by Farrell
Replied by Farrell on topic Bug in frontend_style.css
frontend_style.css
the following lines cause problems because they collide with or overwrite other things

line 4
Code:
#main ul{padding:0!important;list-style-type:none!important}


line 20
Code:
ul{list-style:none outside none}


line 29
Code:
a:visited{outline:medium none;text-decoration:none}


line 31
Code:
.button{border:0!important}


line 47
Code:
#main a:link,#main a:visited{text-decoration:none}


line 54
Code:
td{border:0}


line 57
Code:
label{cursor:pointer}


line 62
Code:
table{border:0!important}


line 63
Code:
table tr{border:0!important}


line 64
Code:
table tr td{border:0!important}

and so forth
and so forth
and so forth
and so forth

but these can also cause problems.

div.toolbar-list ul{margin:0;padding:0}

would be correct. at least
Code:
#oppropaty .table {border: 0;}

or
Code:
.oppropaty .table {border: 0;}
 
Last edit: 1 year 9 months ago by Farrell.

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

More
1 year 9 months ago #152669 by Mr. Dam
Replied by Mr. Dam on topic Bug in frontend_style.css
Hi Christian,
Thank you for your suggestion, we will improve layouts of component and update CSS files in near future.
Let us know if you have more ideas to improve OS Property extension, we are really appreciate them.
Regards,
Dam

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

Moderators: Mr. DamNguyen Phu Quan