customization

Permalink Browser Info Environment
A general remark: the theme is marked as "beginner" but how does this customization through "body classes" work? I am not an absolute beginner when it comes to C5 but no programmer and therefore avoid code. So I don't really understand what body classes are, and how would I use them - for which cases? which code? how/where to insert?

Theme builders don't have to provide complete tutorials, some search and self study can be expected from users. But a minimum of guidance (2-3 paragraphs) and/or a couple of references would have been in order with a theme for beginners.

In any case I do not have a clue where to start.

Type: Discussion
Status: Resolved
Yola
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi Yola.

Most of the website building with this theme can be done with standard Concrete5 functionality, ie: adding blocks, adding pages, etc.
You can even change a lot of colors and fonts in the theme-administration page of your Concrete installation.

When that's not good enough you might want to change the looks of the theme by using CSS. That is not easy for someone without CSS skills, and does not belong to the "beginner" part. All of the above does.

If you want to dive into the world of front-end developing (HTML, Javascript & CSS), I recommend looking into tutorials online. I think this is a good one:
https://learnable.com/courses/build-your-first-website-html-css-2891...

Let me know if you have any question, I'd like to help
Yola replied on at Permalink Reply
Yola
Thank you for your prompt reply, much appreciated!

First, to clear up: I do know the basics of HTML/CSS etc, but I'm not an expert. So when you write "Easy to use theming via body-classes" I do not immediately understand what to do.

If the theme can be customized the usual way, great! I can handle that, no problem. The 'body-classes' confused me.

However: at the moment I cannot customize the theme at all: nothing happens, I don't get the panel with choices.

I'm beginning to suspect something is wrong with the C5 installation. Messing around these past days, for some reason (I forget which) I deleted the Elemental theme (the folder is still there but it doesn't show up in the list of themes anymore). I guess that was a mistake (although it did not affect another theme I was playing around with).

There is only one post on the forum on how to re-install Elemental, something to do with code in databases -this has led me astray no end. So I guess I'd better go for the brutish big solution and do a complete re-install of C5 . Maybe that will solve the problem.
DeWebmakers replied on at Permalink Reply
DeWebmakers
With "body classes" I mean that the body-html tag has convenient classes:
- each page-type has it's own class
- user logged in or not class
- if it is the home page or not
- if it is a top-level page or not
- page-id class
- if you are in editmode

So you can use conditional css, like these examples:
.page-type-news #main { float: none; }
.user-logged-in .some-register-from { display:none; }
.is-home .nav { top: 49px; }
.top-level .breadcrumb { float: right; }
.page-id-4 .sidebar { display: none; }
.editmode .slideshow { display: none; }
Yola replied on at Permalink Reply
Yola
Thank you for the explanation. I'm not sure I understand properly. How would I know (if you had not told me now) which classes the html-tag has? Where can I check such things? And where do I put the conditional CSS?

Anyway: I did not do a complete re-install of C5 but got my Elemental theme back anyway. Then uninstalled the WM theme (not just removed, but moved to trash on the server), re-installed it - but no luck. Also cleared cache a few times.

When I go to 'design' in the left column there is an image of the theme but on mouseover it does NOT say 'customize', like the others, and though it is clickable, nothing happens when I click.

So there is nowhere to do the usual customizations of colours etc.

(And: without access to the theme-customize-panel, I don't have a field for 'custom css' either, but would have to edit the files directly)

Any suggestions?
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi Yola,

I am afraid I am mistaken about customization. I thought this support-ticket was for our (concrete 5.6) Schoolbus theme, which has customization.
This theme does not have that kind of customization. (sorry!)

Front end developers use often the inspector of their browser to check the HTML code of the webpage. There you can see the classes of each element.
You can create your own css file in the theme-folder and link it in the header.php

(please use my hints after you done some basic html and css learning, then most of it becomes clear ;-)

Good luck and have fun developping!
Yola replied on at Permalink Reply
Yola
Okay, I'll regard my efforts to get it to do what it can't do it as a learning experience then :-))

I still think you need to adapt your description of the theme though. Although it may be a good starting-point for more or less experienced developers, it is certainly not a beginner's theme (assuming the beginner is not necessarily a programmer).

I've built quite a few websites with C5 and can usually achieve what I want by tweaking existing CSS. It's not so hard to adapt a well-organized and commented stylesheet. Writing your own CSS is a lot trickier.

A bit of documentation wouldn't be amiss either - what you explained to me above should be part of the documentation of the theme.

Thank you for the additional info, I'm beginning to get the idea, may dive into that one day. But for the time being I'm back to Elemental.
Yola replied on at Permalink Reply
Yola
BTW, Learnable looks very attractive, thanks for the tip. Just yesterday I bought a couple of e-books they offer as part of subscription :-( but even so their offer looks very attractive.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.4.2
Version Installed - 5.7.4.2
Database Version - 20150504000000

# concrete5 Packages
Fruitful (1.2), Fundamental (2.0.2), WM Clean (0.9.2).

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

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

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.3.29

# PHP Extensions
bcmath, bz2, bz2_filter, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, huffman, iconv, imagick, imap, json, ldap, libxml, magickwand, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, quickhash, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, SPL_Types, SQLite, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 600
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 2500
memory_limit - 512M
post_max_size - 32M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.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 - 1440
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 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.