By Cong Nguyen on Thursday, 13 November 2014
Posted in General Issues
Replies 8
Likes 0
Views 573
Votes 0
Hi
I'd like to edit some CSS as well as image files.
Please advice the best way to create new themes/template so that it won't be overwritten for each new update in the future.

Thanks
Hello,

You can use the same method as Easyblog which you can refer here: http://stackideas.com/docs/easyblog/customizations/template-overriding . Just change your folder name to com_easydiscuss. Hope this helps.
·
Thursday, 13 November 2014 10:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi nik
The guide said copy:
/templates/mytemplate/html/com_easyblog/css/
However, easy_discuss has: /style/style.css , not CSS
should I name the Folder as style or css?
·
Tuesday, 18 November 2014 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Sorry, I forgot to mention this to you. You need to change the folder name to styles and you also need to copy the style.less as well.
·
Tuesday, 18 November 2014 18:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
I'm afraid its not picking up custom style.css
I have enabled force compile in ADMIN
Copy style.css / style.less to the following folder:
templates/gk_rockwall/html/com_easydiscuss/style
[vi@com_easydiscuss]$ ls
style.css style.css_BK style.less
I edit this: div#discuss-wrapper .discuss-avatar.avatar-medium img {
making it smaller: to width: 32px;
What am I missing?
·
Tuesday, 18 November 2014 18:34
·
0 Likes
·
0 Votes
·
0 Comments
·
ahh, I think we need to edit style.less, not style.css
If the page is re-compile again, it will convert style.less to style.css? please confirm ?
·
Tuesday, 18 November 2014 18:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Cong,

You did mentioned that you put both files in templates/gk_rockwall/html/com_easydiscuss/style. This is not the correct path. the style folder is actually styles (with s). You only need to edit the style.css file. it is no need to recompile it.
·
Tuesday, 18 November 2014 18:45
·
0 Likes
·
0 Votes
·
0 Comments
·
ahh, stupid mistake.
it works now
thanks
·
Tuesday, 18 November 2014 18:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Cong,

You're welcome.
·
Tuesday, 18 November 2014 19:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post