Can someone assist and advise where I can find below code CSS file. I have already searched the style.less, also css/addons/discussion folder. Can seem to locate it. Thanks for any help given.
.ty-discussion-post {
border: 1px solid #edeff1;
margin: 10px 0 15px;
padding: 15px;
position: relative;
}
hi,
please check file “design/themes/responsive/css/addons/discussion/styles.less”
best regards,
WSA team
We do not recommend you to change the core files. Instead of this, please use CSS section in the Theme editor to override default CSS rules
Thank you all for your help.
I have been trying to put this is my_chages folder but will not work.
Created:
responsive / css / addons / discussion / my_changes / teststyles.less
Created:
responsive / templates / addons / discussion / my_changes / hooks / index / styles.post.tpl
Please advise what I'm doing wrong?
thank you
Please check this article (the path is not correct in your example):
Hello,
I have my regular style.less set up as per link provided. so that works.
What happens is that the below code is in this file and path “design/themes/responsive/css/addons/discussion/styles.less”
.ty-discussion-post {
border: 1px solid #edeff1;
margin: 10px 0 15px;
padding: 15px;
position: relative;
}
I tried setting it up with the link you provided but does not work. I also tried the path as per below and still does not work.
responsive / css / addons / discussion / my_changes / teststyles.less
responsive / templates / addons / discussion / my_changes / hooks / index / styles.post.tpl
Since the CSS code is in the addons/discussion folder, I was thinking the my_changes would follow same intructor.
I do not know if was to clear on this. Anyway if you can assist that would be great.
Thank you
After the changes are applied, please try to delete the var/cache directory manually. Sometimes the cache is not cleared from the admin panel. It can be the reason.
Also please provide us with the content of the styles.post.tpl file
Thank you eComlabs,
that worked I used the following paths:
responsive / css / addons / discussion / my_changes / teststyles.less
responsive / templates / addons / discussion / hooks / index / styles.post.tpl
Inside of styles.post.tpl: {style src=“addons/discussion/my_changes/teststyles.less”}
[quote name='goia007' timestamp='1431691620' post='214503']
Thank you eComlabs,
that worked I used the following paths:
responsive / css / addons / discussion / my_changes / teststyles.less
responsive / templates / addons / discussion / hooks / index / styles.post.tpl
Inside of styles.post.tpl: {style src=“addons/discussion/my_changes/teststyles.less”}
[/quote]
You are welcome!