Customising theme for page

Permalink Browser Info Environment
Hi there.

If I try customising the theme for a page assigned to a domain, the style is not applied.

It seems to take the style from the main domain page

If you see the attached, I create a style for a fake id. This style sheet should be inserted into the top of the html page. however it is not.

Is this a bug, or can you suggest a work-around to have custom css for a particular domain?

1 Attachment

Type: Ticket
Status: On Hold
Conkreet
View Replies:
Mainio replied on at Permalink Reply
Mainio
Tested this locally and it seems to work correctly for all pages individually within the domain. So when I apply the changes to a particular page, it applies to that page. I tested this both for the domain home page and a page beneath that domain, both worked.

So, I have to guess that what you are referring here is the applying the custom styles to the “entire site”. This is really as it says, the entire site, not just the domain mapped within multiple domains.

Is this what you mean? So, in other words, when you are clicking the “apply changes to entire site”, you would want to apply those changes only to the pages under your mapped domain?

Multiple domains does not actually separate the system in any ways to separate sites, it just maps domains to pages within your sites. We try to avoid having core overrides as much as possible, although we offer a couple ones within the system.

If this is what you mean I wouldn’t call it a bug, rather a missing feature. This is because it is kind of working already as expected, regarding the concrete5 core. If this is what you meant, we might be looking into this as an additional feature for the next bigger release for the 5.8 core. Probably it’s not very easy to implement to support the “apply for entire site” button because of how that feature is structured in the core. Instead we might look into a similar workaround that we have for the domain specific themes: the changes you would apply to the domain home page would affect all its child pages.

But before we look further into this, I would like a bit more details whether this was a correct interpretation on what you wrote above.

Antti / Mainio
Conkreet replied on at Permalink Reply
Conkreet
To be honest, it was a few weeks ago now, so can't remember the exact details as I now have a custom CSS file for each domain.

I've just tried it again, and it appears to work, so maybe I was doing something different back then.. maybe I logged into the main domain, maybe i logged into the addon domain, I'm not sure... or it was cached but I'm pretty sure i would have checked that.... But it's too far back to remember,.

It definitely wasn't a "Apply to whole site" thing, as that's the opposite to what I wanted.

I don't think it's worth pursuing this as a bug. if it happens again, I'll document it fully.

Thanks.
Mainio replied on at Permalink Reply
Mainio
Great and thanks!

I'll put this thread into the "on hold" state but feel free to post again in case you are able to replicate the issue with the steps on how to reproduce it. When posting to this thread again, it will automatically re-open it.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.8
Version Installed - 5.7.5.8
Database Version - 20160412000000

# concrete5 Packages
Automatic Email Obfuscator (2.0.1), Background Image and Overlay (0.9.7), Cloneamental (0.9.3), Editor Comment (7.0.1), HonestWebsites Simple testimonials (1.0.0), HTML+PHP Code Block (1.0.1), Icons for Redactor (0.9), Manual Nav (2.0.0), Multiple Domains (2.3.2), Responsive Embed (1.0.1), Thumb Gallery (1.0.3), Vivid Carousel (1.0.1).

# concrete5 Overrides
languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, mail/validate_user_email.php, mail/user_registered_approval_complete.php, mail/private_message_response_enabled.php, mail/facebook_account_connected.php, mail/won_badge.php, mail/mail_importer_error.php, mail/private_message.php, mail/user_register.php, mail/block_form_submission.php, mail/private_message_admin_warning.php, mail/basic_workflow_notification.php, mail/new_conversation_message.php, mail/forgot_password.php, mail/user_register_approval_required.php, mail/spam_detected.php, mail/user_register_approval_required_to_user.php, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, mail/validate_user_email.php, mail/user_registered_approval_complete.php, mail/private_message_response_enabled.php, mail/facebook_account_connected.php, mail/won_badge.php, mail/mail_importer_error.php, mail/private_message.php, mail/user_register.php, mail/block_form_submission.php, mail/private_message_admin_warning.php, mail/basic_workflow_notification.php, mail/new_conversation_message.php, mail/forgot_password.php, mail/user_register_approval_required.php, mail/spam_detected.php, mail/user_register_approval_required_to_user.php

# 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.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4 PHP/5.6.21

# Server API
apache2handler

# PHP Version
5.6.21

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, memcache, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, pgsql, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tidy, timezonedb, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, Zend OPcache, zip, zlib.

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 10000
memory_limit - 256M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
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
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

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.