Custom colours and shapes will not work

Permalink Browser Info Environment
Hi there, the custom button feature will not work, when I try to create a new theme, the button will stay in it's default style when i apply my custom colour and custom shape. I have saved the colour and shape and have updated the CSS but it will not change. If I use the presets it changes fine.

Type: Ticket
Status: Archived
CoolBananas
View Replies:
mnakalay replied on at Permalink Reply
mnakalay
Hi,

I am not sure I understand.

You have created a custom color set and a custom shape. You have then re-generated the CSS file.

When you try to create a theme, on the dashboard theme's page, if you select one of the preset colors or shapes it works but if you select your custom color or shape it doesn't work?

Is that correct?

If yes then I have a few questions:
1- What name did you give your color and shape
2- when you say the button will stay in its default style, do you mean on the dashboard theme's page when creating the theme (so the sample button) or do you mean afterward when adding a button to a page using the block?

Thank you.
CoolBananas replied on at Permalink Reply
CoolBananas
Hi there thanks for the quick reply, i tried adding a couple of custom colours named
test
blello
weird
All lowercase without any spaces or other symbols.

In answer to your second question, it happens for both, the button just stays grey in the preview and when I check on the site page. However the preset colours work fine on both.
mnakalay replied on at Permalink Reply
mnakalay
Also, that could be due to your browser caching the first CSS file and still using it even after you generated the new one. In that case, in Chrome and Firefox, if you reload using ctrl+F5 it refreshes the file when reloading. That might solve the problem.
CoolBananas replied on at Permalink Reply
CoolBananas
Thanks, I have cleared the cache and have been developing without caching enabled. To clarify, when I change the colour under the colour schemes window it changes the colours in the preview. When I try to load my saved colour scheme in the Themes option it will not change the default (Grey) style.
CoolBananas replied on at Permalink Reply
CoolBananas
Ok I was working in Safari and that in Firefox it works. is this a Safari compatibility issue or just Safari catching up to the changes?
mnakalay replied on at Permalink Reply
mnakalay
I never tried it in Safari but it's really just simple jquery add/remove class so Safari shouldn't have a problem.

With what you are describing, I am again inclined to blame the cache.

But to be clear, I didn't mean Concrete5's cache, I meant the browser's cache.

One thing you can do is create a new color in Firefox and check if you have the same problem in Firefox with that new color. If yes then it's definitely a browser's cache problem and you need to empty it.

Again, in Chrome and Firefox, reloading the page with ctrl+F5 refreshes the CSS in the browser's cache but I'm not sure about Safari.
CoolBananas replied on at Permalink Reply
CoolBananas
I figured out how to clear Safari cache completely and it worked. Thanks heaps. All is showing as it should.
mnakalay replied on at Permalink Reply
mnakalay
Good to hear.

Please contact me again if there's anything else I can help you with.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.13
Version Installed - 5.7.5.13
Database Version - 20160615000000

# concrete5 Packages
Buttons Factory Pro (2.2), Long Story Short (1.1.2), Palette (2.0.4), Responsive Embed (1.0.0), Video Box (0.1.1)

# concrete5 Overrides
jobs/clear_empty_workflow_progress.php, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, jobs/clear_empty_workflow_progress.php, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.18 (Ubuntu)

# Server API
fpm-fcgi

# PHP Version
5.6.31

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, intl, json, libxml, mbstring, mcrypt, memcache, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 90
max_input_vars - 1000
memory_limit - 256M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 20M
memcache.max_failover_attempts - 20
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.