• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

putting media queries fixed at the bottom of the stylesheet

Community Beginner ,
Sep 24, 2023 Sep 24, 2023

Copy link to clipboard

Copied

Hi.

Are there any way to fix lines of media queries at the bottom of the stylesheets?

how to make sure global style is above the line of media queries when I add new style in the style sheet?

 

The reason I post this question is I found messy style.css created with Dreamweaver by my colleagues .

Views

148

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 25, 2023 Sep 25, 2023

If your file is disorganized, you'll need to reorganize it manually, then when adding a new rule (if you're using DW's interface) it will be positioned at the cursor location from the CSS designer palette,

Lena_0-1695640310274.png

 

You could also split your CSS files, placing MQ in one side, and the rest of the code in different files.

Votes

Translate

Translate
Community Expert ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

If your file is disorganized, you'll need to reorganize it manually, then when adding a new rule (if you're using DW's interface) it will be positioned at the cursor location from the CSS designer palette,

Lena_0-1695640310274.png

 

You could also split your CSS files, placing MQ in one side, and the rest of the code in different files.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 25, 2023 Sep 25, 2023

Copy link to clipboard

Copied

LATEST
quote

Are there any way to fix lines of media queries at the bottom of the stylesheets?

By @deprog283098850vcb

============

Code manually. 🙂

With DW's built-in code hints, Code View is much faster and more precise than awkward panels. 

After making changes, hold Ctrl/Cmd + S to Save.  Hit F5 to Refresh.

 

image.png

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines