Hash changed in stylesheet.css for the custom css files (common.css)?
("common.css?v=1.1.9");
eg. ("common.css?v=1.1.10");
("common.css?v=1.1.9");
eg. ("common.css?v=1.1.10");
I'm still using 1.1.9, I wasn't aware there was a 1.1.10Tastenplayer wrote: βFri Oct 21, 2022 7:59 pm @Seneekikaant
Hash changed in stylesheet.css for the custom css files (common.css)?
("common.css?v=1.1.9");
eg.("common.css?v=1.1.10");
Can you please detail which files you had to change in the end? Possibly what the changes were?Seneekikaant wrote: βSat Oct 22, 2022 6:49 pm
there were 2 other files that also needed editing. but you're right, after editing any html files I have to purge the cache, CSS is a bit more lenient, at least on my test server that isn't behind cloudflare. Thanks for the help
Sure, there were 6 places in total.
Code: Select all
<button class="colorbutton colororange" id="<!-- IF $P_DEFAULT_COLOR eq 'orange' --><!-- ELSE -->orange<!-- ENDIF -->" onClick="change_variant(this.id)"></button>
<button class="colorbutton colorgrey" id="<!-- IF $P_DEFAULT_COLOR eq 'grey' --><!-- ELSE -->grey<!-- ENDIF -->" onClick="change_variant(this.id)"></button>
Code: Select all
<!-- IF $P_DEFAULT_COLOR eq 'orange' --><link href="{T_THEME_PATH}/custom/orange.css?v=1.1.9" rel="stylesheet"><!-- ENDIF -->
<!-- IF $P_DEFAULT_COLOR eq 'grey' --><link href="{T_THEME_PATH}/custom/grey.css?v=1.1.9" rel="stylesheet"><!-- ENDIF -->
Code: Select all
<!-- IF $P_DEFAULT_COLOR eq 'orange' --><link href="{T_THEME_PATH}/custom/orange.css?v=1.1.9" rel="stylesheet"><!-- ENDIF -->
<!-- IF $P_DEFAULT_COLOR eq 'grey' --><link href="{T_THEME_PATH}/custom/grey.css?v=1.1.9" rel="stylesheet"><!-- ENDIF -->
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
Code: Select all
.colororange {background-color: #fc9f08; }
.colorgrey {background-color: grey; }
You have to change the hascode every time you make a change in a css, otherwise Firefox in particular will not accept the change - it will not be visible to you. This has nothing to do with the style version.Seneekikaant wrote: βSat Oct 22, 2022 6:49 pm I'm still using 1.1.9, I wasn't aware there was a 1.1.10
jrolson wrote: βSat Oct 22, 2022 11:55 pm I would recommend using letters at the end of the numbers like so... 1.1.9b, 1.1.9c, ect. whenever you make changes to these files.
(You can change it to anything as long as it's something different.)
Another option is to use the date of file modification as the version number... example: (22.10.22) year/month/day
Using 1.1.10 might be a conflict if I ever put out a 1.1.10 update in the future.
Hi Dbrewood,dbrewood wrote: βSun Oct 23, 2022 11:23 am @Tastenplayer I'm not sure if you are interested, but I'm quite happy to share with you the files etc I've changed to create the 'grey' variant of the style?
I guess that @Seneekikaant would also possibly be happy to share (and might have done a better job than myself)? ......
Code: Select all
.grey .navbar { background-color: grey }
.grey .row-item {
background-color: silver;
color: black;
border-color: dimgrey;
}
.grey .page-body { background-color: #cccccc; }
.grey .bodycontainer { background-color: #cccccc; }
.grey #recent-topics a.forum-link { color: slategrey; }
.grey li.row dl { border-color: dimgrey; }
.grey ul.topiclist dd { border-left-color: dimgrey; }
.grey li { border-color: dimgrey; }
.grey .forumbg .header a, .forabg .header a, th a { color: #333; }
.grey li.header dt, li.header dd { color: #333; }
.grey .post.online, #viewprofile .online { background-color: silver; }
.grey ul.topiclist li.row dl { margin: 1px 1px }
Code: Select all
.navbar { background-color: grey }
.row-item {
background-color: silver;
color: black;
border-color: dimgrey;
}
.page-body { background-color: #cccccc; }
.bodycontainer { background-color: #cccccc; }
#recent-topics a.forum-link { color: slategrey; }
li.row dl { border-color: dimgrey; }
ul.topiclist dd { border-left-color: dimgrey; }
li { border-color: dimgrey; }
.forumbg .header a, .forabg .header a, th a { color: #333; }
li.header dt, li.header dd { color: #333; }
.post.online, #viewprofile .online { background-color: silver; }
ul.topiclist li.row dl { margin: 1px 1px }
Code: Select all
/* Grey */
.grey .headerbar {
background-color: #2C2C2C;
background-image: -webkit-linear-gradient(top, #515051 0%, #2C2C2C 100%);
background-image: linear-gradient(to bottom, #515051 0%,#2C2C2C 100%);
}
.grey .forabg, .grey .forumbg {
background-color: #2C2C2C;
background-image: -webkit-linear-gradient(top, #5E5E5E 0%, #2C2C2C 35px, #2C2C2C 100%);
background-image: linear-gradient(to bottom, #5E5E5E 0%,#2C2C2C 35px,#2C2C2C 100%);
}
.grey .pollbar5 { background-color: #515051; }
.grey .action-bar .cologreybutton {
border-color: #2C2C2C;
background-color: #2C2C2C;
background-image: -webkit-linear-gradient(top, #515051 0%, #2C2C2C 100%);
background-image: linear-gradient(to bottom, #515051 0%,#2C2C2C 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#515051', endColorstr='#2C2C2C',GradientType=0 );
}
.grey .action-bar .cologreybutton:hover {
background-color: #2C2C2C;
background-image: -webkit-linear-gradient(top, #2C2C2C 0%, #515051 100%);
background-image: linear-gradient(to bottom, #2C2C2C 0%,#515051 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2C2C2C', endColorstr='#515051',GradientType=0 );
}
.grey .pagination li.active span {
background: #515051;
border-color: #515051;
}
.grey .pagination li a:hover {
background: #515051;
border-color: #515051;
}
Code: Select all
.headerbar {
background-color: #2C2C2C;
background-image: -webkit-linear-gradient(top, #515051 0%, #2C2C2C 100%);
background-image: linear-gradient(to bottom, #515051 0%,#2C2C2C 100%);
}
.forabg, .forumbg {
background-color: #2C2C2C;
background-image: -webkit-linear-gradient(top, #5E5E5E 0%, #2C2C2C 35px, #2C2C2C 100%);
background-image: linear-gradient(to bottom, #5E5E5E 0%,#2C2C2C 35px,#2C2C2C 100%);
}
.pollbar5 { background-color: #515051; }
.action-bar .cologreybutton {
border-color: #2C2C2C;
background-color: #2C2C2C;
background-image: -webkit-linear-gradient(top, #515051 0%, #2C2C2C 100%);
background-image: linear-gradient(to bottom, #515051 0%,#2C2C2C 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7E1F18', endColorstr='#2C2C2C',GradientType=0 );
}
.action-bar .cologreybutton:hover {
background-color: #2C2C2C;
background-image: -webkit-linear-gradient(top, #2C2C2C 0%, #515051 100%);
background-image: linear-gradient(to bottom, #2C2C2C 0%,#515051 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2C2C2C', endColorstr='#515051',GradientType=0 );
}
.pagination li.active span {
background: #515051;
border-color: #515051;
}
.pagination li a:hover {
background: #515051;
border-color: #515051;
}
dbrewood wrote: βMon Oct 24, 2022 7:34 pm Okay...... I've added the code in, looks good apart from these areas shown:
Screenshot 2022-10-24 at 20.30.06.jpeg
Further checking shows the 'Post Reply' text has gone white and the alternate messages in a thread are still bluish instead of alternating grey tones....
Screenshot 2022-10-24 at 20.46.09.jpeg
Sorry....... I wish I knew enough to fix / change it myself....Any ideas?
Code: Select all
ul.topiclist li.row dl { margin: 1px 1px }
Code: Select all
.post.online, #viewprofile .online { background-color: silver; }
Code: Select all
.forabg, .forumbg {
background-color: gainsboro;
background-image: -webkit-linear-gradient(top, grey 0%, dimgrey 35px, black 100%);
background-image: linear-gradient(to bottom, grey 0%, dimgrey 35px, black 100%);
}
Code: Select all
.post.online, #viewprofile .online { background-color: silver; }
Code: Select all
.grey .post.online, #viewprofile .online { background-color: silver; }
Code: Select all
ul.topiclist li.row dl { margin: 1px 1px }