5.8 CSS

Permalink
I made some changes to my site and later changed the page_theme file. I switched to another theme uninstalled the site I was working on and reinstalled the site. Now I've lost all the styling on my site.. This happened before .. ( see link )
http://www.concrete5.org/community/forums/chat/error-uploading-file...

And has happened again..
Am I doing something wrong or is this a bug ??

Bob

rdealmeida
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi rdealmeida,

Just to clarify, when you say you "uninstalled the site", does that mean you reinstalled concrete5?

I was unable to reproduce this issue using these steps:
- On a default install of concrete5, using the Elemental theme, I customized several styles and added Custom CSS.
- I installed and activated a new theme.
- Using the new theme, previous customized styles and Custom CSS were removed.
- I activated the default Elemental theme again.
- The previous customized styles and Custom CSS were available.

It makes sense that customized theme styles and Custom CSS would be reset when switching themes. The customized theme styles are theme specific. Custom CSS that is useful for one theme, may break another theme.

That said, I do think being able to import and export customizable theme styles would be very useful. I can see this being especially useful for versioning your customizable theme styles, so you can test new styles and revert back. Custom CSS can be manually imported and exported.

There is an existing GitHub issue for importing and exporting customizable theme styles:
Import/export configurable theme properties? #4425
https://github.com/concrete5/concrete5/issues/4425...

I recommend anyone interested in seeing this feature added should give the issue a thumbsup and leave a comment.
rdealmeida replied on at Permalink Reply
rdealmeida
Hi MrKDilkington
Sorry, I didn't explain it correctly.. I just reread my message.. that aint right.. ( oops.. ) Let me try that one again...
I'm using cloneamental as a theme for a site that I'm building. While I was putting the finishing touches on the site I realized that tooltips was not working.. I edited the page_theme to add the two assets for tooltips. I activated the elemental theme and removed and reinstalled the cloneamental theme . As per Andrews tutorial.. ( 4:58 mark ) here:
https://www.youtube.com/watch?v=UWgxpVvyKHs&t=306s...
Then switched back to the website to find that the theme did not change back to cloneamental , even though the dashboard said that the cloneamental theme was active.. I tried it a couple of time .. no luck...
Sorry about that..

Bob
MrKDilkington replied on at Permalink Reply
MrKDilkington
@rdealmeida

Have you cleared both the concrete5 cache and browser cache?
rdealmeida replied on at Permalink Reply
rdealmeida
Hi MrKDilkington
Yup cleared concrete5 cache and my browser cache is shut off
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disk-cache-size=1 --media-cache-size=1

Bob
MrKDilkington replied on at Permalink Reply
MrKDilkington
@rdealmeida

Are you able to create a new install of concrete5 on your server for testing? If so, I would see if theme switching works in the new install by trying the default Elemental and a free theme from the marketplace.
rdealmeida replied on at Permalink Reply
rdealmeida
Hi MrKDilkington
Sorry for the delay, been busy...
Anyway.. I setup a new 5.8 site . I installed the Stucco theme from the marketplace and had no problem changing from the Stucco theme to the elemental theme.
But I installed Cloneamental into the application/themes directory and edited the page_theme.php. Switched to elemental and removed and installed the theme Cloneamental and could not switch back to cloneamental..

Bob
MrKDilkington replied on at Permalink Reply
MrKDilkington
@rdealmeida

Is there a reason for adding Cloneamental to application instead of adding it as a package?

If you can switch between themes when not using your customized version of Cloneamental, it makes me think your customizations might be causing the issue.