Skip to main content
Participant
September 25, 2023
Answered

putting media queries fixed at the bottom of the stylesheet

  • September 25, 2023
  • 2 replies
  • 257 views

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 .

    This topic has been closed for replies.
    Correct answer L e n a

    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,

     

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

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    September 25, 2023
    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.

     

     

    Nancy O'Shea— Product User & Community Expert
    L e n aCommunity ExpertCorrect answer
    Community Expert
    September 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,

     

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