Totally loving editing my CSS visually in PG3.04, but I’m still very frustrated by the times I get everything right in PG, export the theme and I’m not seeing the same thing. I dealt with this in detail in another post, but no suggestions forthcoming, so I simplified (went back to straight CSS, not SASS) in case I had been doing that wrongly, but then a couple of times, I’ve had the experience of exporting the theme and finding that all the changes were gone, and in fact all of my CSS was being ignored - in fact, the file length was zero - everything gone!
However, back in PG, I could see everything - the “internal” version of my css was intact, but I couldn’t get PG to write it out to the CSS file. (In the end I listed each changed rule and copied and pasted it to a backup of my css, and hoped I didn’t miss anything.)
This happened twice before I stopped beating my head against the wall.
Anyone else see this? Is there a way to force PG to “write” the CSS from it’s internal version?
I was using V3.04 at the time and when I saved the page and left it, I
found the inline stylesheet code had disappeared and the page was
rendering without CSS.
I then made a CSS file and attached it to the page on a new site I was
working on. This cleared up the problem.
I have tried it this morning on 3.05 and the problem seems to have
dissappeared.
I was re-designing a site http://www.woodartsigns.ca/ that had been
developed on Dreamweaver in 2006, and I was attempting to keep the same
look, but using up to date coding.
The index page is done, and I am completing the others as they have some
different pictures.
Thanks for your noticing my comment. I enjoy using your latest update to
the program, as I am discovering all the interesting ways to use the new
coding.
I have been using the W3C schools https://www.w3schools.com/ as a
reference for whatever work I do as it is not full of bloatware.
Just to add some details. My original bug report was concerning an external css file. My reference to the “internal version” was nothing to do with inline css, and referred to however Pinegrow records css within the application.
For the record, on 3.05, I have not (yet) lost the contents of my css file, but I’m still experiencing some strange behaviour:
Active elements display still needs refresh from time to time
CSS in external file gets reformatted (rule 2 starts on the same line as rule 1 ends, for example)
CSS changes are still not dealt with independently from html changes. All I change is the CSS, but Pinegrow shows (for example) category.html changed
Hi all, I suppose the issue I’m seeing may be related to this bug. I have version 3.06
Changes I make in a css file when editing the “code” of the css file are not saved permanently. They will for the session however. I can get it to save permanently if I delete my css file out of pinegrow directory and then make my changes then hit save. If use other features in pinegrow that change the css file like “add rule” then those seem to be working fine.
Repro Steps For Changes Not Saved:
Go to style sheet panel
Switch to code mode “<>” for css file
Add some rules manually
Save
Go to css file in pinegrow directory and open with some other text editor
Changes not visible
Repro Steps For Changes Saved:
Go to style sheet panel
Switch to code mode “<>” for css file
DELETE css file from pinegrow directory
Add some rules manually
Save
Go to css file in pinegrow directory and open with some other text editor