Elemental theme styling

Permalink
Hi there, I installed 5.7 for the first time now and I am stuck immideately. Elemental theme comes with design presets (color schemes)
I don't want to use them how can I disable this??
I wanted to color a font in the content block. Apparently the colours I can choose are taken from the presets - so I cannot for instance give red colour to my text from the colourpicker.

So I edited html in the content block, but this has no effect, text color doesn't change.

So next I thought I'd install some other theme. I went to dashboard, but for the first time in six years I encountered the "invalid token unable to connect to marketplace" again.

Ok, no problem, I uploaded the themes to the packages folder - but they do not appear in the dashboard for installing.

Totally impossible to build a site ... what am I to do about this? Client wants to have newest version installed but I can't even set up a basic site that agrees with the client's CI because I can't use the colors I need.

rritz
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi rritz,

What version of concrete5 are you using?

"Elemental theme comes with design presets (color schemes) I don't want to use them how can I disable this??"

Presets are defined in the theme css\presets folder as .less files. I believe you can delete all the presets except for defaults.less. If you delete defaults.less it will cause an error. It is recommended not to modify the Elemental theme directly, instead use Cloneamental.
https://www.concrete5.org/marketplace/themes/cloneamental...

"I wanted to color a font in the content block. Apparently the colours I can choose are taken from the presets - so I cannot for instance give red colour to my text from the colourpicker.
So I edited html in the content block, but this has no effect, text color doesn't change."

Can you be more specific about what text you were trying to change the color of and how you tried to change it.

"Ok, no problem, I uploaded the themes to the packages folder - but they do not appear in the dashboard for installing."

Were these version 5.6 or 5.7 themes?
rritz replied on at Permalink Reply
rritz
Thxs for trying to help!

<<What version of concrete5 are you using?>> the latest, I think it is 5.7.5.4 if I remember right.

<<Presets are defined in the theme css\presets folder as .less files. I believe you can delete all the presets except for defaults.less. If you delete defaults.less it will cause an error.>> If I delete the presets this will still not give me the ability to NOT USE ANY preset at all or will it? Or will it force me to use the default preset then? I want to not use any presets but rather style everything as I need it. I understand presets can be helpful for chossing a nice color combination, but when it limits me so totally that some colors are simply not available then the use is zero.

<< It is recommended not to modify the Elemental theme directly, instead use Cloneamental.
https://www.concrete5.org/marketplace/themes/cloneamental...>>... I would, but I can't install any theme or block


<<Can you be more specific about what text you were trying to change the color of and how you tried to change it.>> Well, I put the page in edit mode, clicked on a content block to edit it, highlighted a text and chose a color from the colorpicker tool. Just like I would do in C5.6
As this didn't seem to work I opened up the html editor right in the content block and added a <span style>


<<Were these version 5.6 or 5.7 themes? >> Version 5.7 of course. I have built pages in c5 for five years, I have got the hang of the two versions existing parallel, I know how to use marketplace and what to download for c5.6 and c5.7


cheers!
MrKDilkington replied on at Permalink Reply
MrKDilkington
@rritz

I recommend updating to the latest version, 5.7.5.6.

Deleting the presets will remove the Presets option from the Customize Theme panel.
Toolbar > Page Settings (gear icon) > Design > Theme > Customize

The defaults.less file holds theme variables and can be changed to custom values or removed after replacing the variables in the theme files with a value. The Elemental theme was designed to use theme presets and customizable styles. It sounds like you want to build a theme from scratch to suit your specific needs.

Were you styling a heading tag? Colors can be applied to headings, but it requires selecting the full boundary of the heading tag (from where the previous tag ends to the end of the heading tag). When manually adding spans, adding them within the heading tag works, but not when wrapping the heading within the span. An alternative is creating a editor styles.
http://documentation.concrete5.org/tutorials/adding-redactor-custom...
WillemAnchor replied on at Permalink Reply
WillemAnchor
Hi,

Just to be sure...did you enable the colorpicker at /index.php/dashboard/system/basics/editor ?
rritz replied on at Permalink Reply
rritz
Yes I did!
tomzuercher replied on at Permalink Reply
I have a similar problem.
How I can change the default text color?
I have now a black background and can not see the text anymore!

I tried custom CSS
a {
color: white;
}

but it did not work


Now I tried:
main,css a {
color: white;
}

It works
WillemAnchor replied on at Permalink Reply
WillemAnchor
Indeed, a more specific css selector helps. Something like:
div.ccm-page main a { color: white; }