Topic Closed
feniweb
297 Posts
The layout area can not be edited.
Is there only the Scss area?
Can you write normal css in here?
4 years ago#8766

Josh S.
2K Posts
266K Downloads
16 Themes
18 Plugins

The layout area can not be edited.

Can you be more specific?

Is there only the Scss area?

If the theme is built using scss then yes. Some themes are built using less.

Can you write normal css in here?

yes

4 years ago#8767

feniweb
297 Posts

Yes if I can I write in a style.css the themes change employer. The
But in the scss I can not write.

Another Problem:
if I change the size jumps the inputwindow on the left side when I reloading the page with F5 bounces it back to the right side.

4 years ago#8768

juergen
1.4K Posts
51.3K Downloads
16 Plugins
design, web development & visual effects

@feniweb: Unfortunately I cannot reproduce your issues here (using Chrome 47 / Win7)

@Josh:

If the theme is built using scss then yes. Some themes are built using less.

This *might* become a problem in case the theme name does not reflect if it uses SCSS or LESS and the variables file is empty. In such cases we might need a hint which language we have to use.
A quite simple solution was to automatically prepend a comment line like
/* use CSS or SCSS syntax */
if not already present.

4 years ago#8776

Josh S.
2K Posts
266K Downloads
16 Themes
18 Plugins

we might need a hint which language we have to use

100% agree

4 years ago#8778

feniweb
297 Posts

This problem is not yet resolved.


1. the Leaping SCSS editing area is under Chrome 48 is still present.

2. Also you can not save entered.

4 years ago#8879

Josh S.
2K Posts
266K Downloads
16 Themes
18 Plugins

Just saw what was happening in chrome. Here's the fix

I can't find a problem with saving though. Have you tried making a very small change to the css to make sure it's not an error in the scss or less you're entering?

4 years ago#8892

feniweb
297 Posts

The error message when I click save.

 

Access denied by security policy

Your request is blocked by a security policy rule.

Please contact the support team, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Please provide the following information to our support team: ...| ... | 24.02.2016 02:48:52
4 years ago#8896

juergen
1.4K Posts
51.3K Downloads
16 Plugins
design, web development & visual effects

certainly once more a mod_security issue. Must be solved with your hosting provider.

Would be interesting what exactly is triggering the block. Are you trying to save SCSS?

edit: probably this (directory traversal)

$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/");

Since you most likely aren't using the Glyphicons font at all, you could try to delete this whole block and see if you can save afterwards.

//** Load fonts from this directory.
$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/");
//** File name for all font files.
$icon-font-name:          "glyphicons-halflings-regular";
//** Element ID within SVG icon file.
$icon-font-svg-id:        "glyphicons_halflingsregular";
Edited: 4 years ago#8897

feniweb
297 Posts

Hallo Jürgen 

Sorry, ich verstehe dein Tipp nicht so recht, kannst du mir das noch auf Deutsch Erklären.

4 years ago#8901

juergen
1.4K Posts
51.3K Downloads
16 Plugins
design, web development & visual effects

kannst du mir das noch auf Deutsch Erklären.

Ja klar:

Ziemlich sicher ein mod_security Problem, das du mit dem Hosting Provider klären musst.

Es wäre interessant, was genau die Sperre auslöst. Willst du SCSS speichern?

edit: Vermutlich ist es das (directory traversal*)

$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/");

Nachdem du die Glyphicons Schriftart vermutlich nicht verwendest, könntest du probieren, diesen gesameten Block (aus den SCCS styles) zu entfernen und schauen, ob du dann speichern kannst.

//** Load fonts from this directory.
$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/");
//** File name for all font files.
$icon-font-name:          "glyphicons-halflings-regular";
//** Element ID within SVG icon file.
$icon-font-svg-id:        "glyphicons_halflingsregular";

 

*Erklärung "directory traversal": Die Zeichenfolge "../" weist ggf. ein Sript an, eine Ordnerebene hinauf zu gehen, also z.B: von /var/www/webroot/index.php könnte man mit "../../../../" in die root directory des Servers gelangen und von da z.B. in Bereiche, wo Dinge gepeichert sind, die einen Webuser bzw. das ausgeführte Script nichts angehen. Wenn das serverseitige (PHP) Script solche "directory traversals" selbst nicht verhindert (also entsprechende variablen, die gepostet werden, nicht "sanitized", kann das ggf. helfen den ganzen Server zu kompromitttieren. Direcory Traversals sind also ein durchaus typischer Teil eines Hacking Versuchs. Das Apache Modul "mod_security" verhindert viele solcher Dinge, ja nachdem wie streng es konfiguriert ist.

Was schreib ich da Romane, wenns eh auf Wikipedia erklärt wird :-)

Ist aber nur eine Vermutung. Es könnte auch etwas anderes sein.

Edited: 4 years ago#8902

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register