ACSS 101.02: Establishing & Manipulating Your Site's Content Width

Поділитися
Вставка
  • Опубліковано 30 кві 2024
  • Content Width is the maximum width that you want content to be able to go when placed inside a default section container. It's important to establish a content width so that the vast majority of your content isn't too wide, too narrow, or random [ick].
    Now, just because you've set a default content widht doesn't mean all content has to be that maximum width. We'll cover breakout content in a future lesson. We'll also cover adjusting element width on-the-fly in a future lesson.
    Today's lesson is isolated to:
    - What is Content Width
    - Default Content Width
    - The Content Width Class
    - The Content width Variable
    - "Content Width Safe"
    - Manipulating Content Width for Pages/Templates/Sections
    To be clear, this is not the technique for simply changing the width of specific elements on the fly. This lesson only relates to setting and manipulating the default content/containment width of a website.
    ---
    Interested in using Automatic.css on your sites and accessing the private ACSS support and strategy community? Get a license here: automaticcss.com
    Interested in using Frames on your sites and accessing the private Frames support and strategy community? Get a license here: getframes.io
    Want more helpful dev tutorials and agency-related trainings? Check out Kevin's channel: / @gearyco
  • Розваги

КОМЕНТАРІ • 57

  • @Headlikeanorange84
    @Headlikeanorange84 2 місяці тому +10

    Pleasantly surprised to see lesson 2 uploaded so quickly after the first one. Thanks Kevin!

  • @dahunsi
    @dahunsi 2 місяці тому +5

    Great tutorial and introduction. Love the custom body class concept. Would love to see how to break out specific elements like images and block quotes in a blog post.

  • @LupusDesign
    @LupusDesign 2 місяці тому +1

    Theory is one thing, but when you combine it with real world examples, this make one's understanding more than theoretical. Love the practical examples and the clarity of your delivery.

  • @davidwalls2304
    @davidwalls2304 2 місяці тому +1

    In the tradition of all prior lessons (PB101 & ACS101), you start with the simple topics and make sure we have the foundation set before moving on to more complicated topics. Even though this was an early lesson, I've still picking up great ideas that I hadn't previously thought of.

  • @isaurasotoca
    @isaurasotoca 2 місяці тому +4

    Always learning something new, even from the more basic lessons!! 😊 Thank you Kevin for doing all the great content you always do! Excited for the next one!! 🎉

  • @abdulwaheedorg
    @abdulwaheedorg 2 місяці тому +2

    Thank you so much for uploading the 2nd tutorial so quickly.

  • @matthollub4977
    @matthollub4977 2 місяці тому +1

    I did not see that floating indicator in the bottom right without you pointing it out (this feature is sick btw). It would be super helpful if after installing a.css, users opening up the builder for the first time would be offered the choice to go through a short sequence of tutorial tips to accelerate the learning curve. Also, I just bought both of your products and I'm psyched to keep learning how to use a.css & frames through this series of videos. Cheers man, you rock!

  • @PapaG-0101
    @PapaG-0101 2 місяці тому

    I am really learning a lot about web best practices, and I recently upgraded to ACSS. I plan to use it on all future projects. I am also watching and building along with your build videos. All your videos really help to explain web best practices and the value of ACSS. Thank you very much for your time and sharing all the information that you do. Mad respect. 🖖

  • @RobCooper
    @RobCooper 2 місяці тому

    That was really great. I'm away for 2 weeks on a cruise so will be binging the next ones when I get back.

  • @eucalyptech
    @eucalyptech Місяць тому

    Very useful, as I started to redesign my web site ! Thank you Kevin 🙂

  • @ceescoenen
    @ceescoenen 2 місяці тому

    Thank you! Perfect showing all the principals.

  • @kristoffernygard7255
    @kristoffernygard7255 2 місяці тому

    Thank you, Kevin! I'm learning so much each time :D

  • @itspraveensharma
    @itspraveensharma 2 місяці тому +1

    Great Tutorial ....

  • @TobiasGronbach
    @TobiasGronbach 2 місяці тому

    Nice!

  • @MusicJunkieVideos
    @MusicJunkieVideos 2 місяці тому

    Super stuff thx

  • @koperkuba
    @koperkuba 2 місяці тому +1

    Nice tempo:)

  • @Jim.Hummel
    @Jim.Hummel 2 місяці тому

    This is great! I get so juiced from these videos...just like I started an IV drip with a caffeine syrup drip!
    I sure hope that there's a way to share ACSS configurations (export/import) as sharing SCSS snippets would be highly valuable. Thanks, Kevin!!

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому +1

      Yes, it's coming.

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому +1

      Right now you can share the export json for the entire dashboard if you want. But we're going to make it so you can export individual areas, like colors.

    • @Jim.Hummel
      @Jim.Hummel 2 місяці тому

      @@AutomaticCSS - Excellent! That makes sense but from this particular video, I was thinking specifically how convenient it would be to sync/share the SCSS snippets a la WP Codebox. Thank you, Kevin!

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому +1

      @@Jim.Hummel Which snippets do you mean?

    • @Jim.Hummel
      @Jim.Hummel 2 місяці тому

      @@AutomaticCSS - Specifically, things like .content-width--narrow that I'd likely use globally, but PHP & JS scripts as well.
      I know it's not in your purview but I'd love it if ACSS could replace WPCodebox functionality. I'm thinking back to your Creating a Blueprint video where you added publicly available snippets with a couple of clicks.

  • @alfian_ridwan
    @alfian_ridwan 2 місяці тому

    The variable override on a class is something I didn't think of - easy to make custom width "templates" for reusability with classes.
    Also - the third tab on Arc's sidebar, "Icons", curious to know what icon sets do you use?

  • @KshitijShah89
    @KshitijShah89 2 місяці тому

    Lesson 2 already. Woohoo!
    Question - If you apply a body class, can you still have content break out?

  • @philippepperell9951
    @philippepperell9951 2 місяці тому

    Yet another great tutorial, Kevin, thank you.
    Any thoughts about when 3.0 might be out of beta?

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому +1

      2-3 weeks hopefully.

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому +1

      It's safe to use on new projects, just not completely safe to upgrade existing sites yet.

  • @alex_vie
    @alex_vie 2 місяці тому

    Great tutorial again! But I would have a question please: Is the very helpful RMB context menu not available anymore? Do we have to go back to typing? It was amazing to work with.

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому +2

      The right click menu is still available

    • @alex_vie
      @alex_vie 2 місяці тому

      @@AutomaticCSS Great❤

  • @michaelakubas
    @michaelakubas 12 днів тому

    Hi Kevin, thank you for videos. One question, you talk about little icon in bricks builder, where I can turn on? Thank you.

  • @SiteswithNatalie
    @SiteswithNatalie 2 місяці тому

    @kevin at 20:24 why did you use the "ch" as the content-width? Thank You!

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому +1

      For long form content it’s best to set the width roughly by the number of characters in a line, since the focus is on the text. It ensures good readability even if text size changes.

  • @curtm275
    @curtm275 2 місяці тому

    When you apply the content-width variable to the body in the template settings - does it also apply to the header and footer of the site?

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому

      If you use containers in those areas yes

  • @PeterEller
    @PeterEller 2 місяці тому

    hey how would this work on a site that I've already build with too many classes that I want to clean up and replace with ACSS classes? Also when is V3 being released?

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому

      How would which part work? If you want to clean up classes you've made, you can use the bricks global class manager for that.

  • @Giulo91
    @Giulo91 5 днів тому

    Hi Kevin, can I create the narrow class and decrease the content-width value as a percentage so that if I change the content-width the narrow class adapts automatically?

    • @AutomaticCSS
      @AutomaticCSS  5 днів тому

      should work!

    • @Giulo91
      @Giulo91 5 днів тому

      @@AutomaticCSS I tried this --content-width: calc(var(--content-width) * 0.8) but it doesn't seem to work. What is the right way to do it?

  • @PeterHeck
    @PeterHeck 2 місяці тому

    Do I need ACSS 3.0 in order to define such new utility classes? Tried it in WPCodebox2 as SCCS snippet, but this doesn't work...

    • @AutomaticCSS
      @AutomaticCSS  2 місяці тому

      No but it’s easier and faster in ACSS.

    • @PeterHeck
      @PeterHeck 2 місяці тому

      @@AutomaticCSS Thanks - need to see, why this is not working when defining it in WPCodebox2...

  • @them00nitself
    @them00nitself Місяць тому

    Uh I need that math so bad. Is there an article for how content width, safe or narrow are calculated?

    • @AutomaticCSS
      @AutomaticCSS  Місяць тому

      You set content width in the dashboard

  • @backgrounds4everyone275
    @backgrounds4everyone275 Місяць тому

    Hi Kevin or anyone else who can help. I am following along to build my first project in Bricks and using ACSS. The variables are not coming up for me automatically and I am pretty sure I missed something. I looked in the manager and I only see the ACSS classes, no variables. Thoughts?

    • @AutomaticCSS
      @AutomaticCSS  Місяць тому

      You mean when you right click a settings input?

    • @backgrounds4everyone275
      @backgrounds4everyone275 Місяць тому

      @@AutomaticCSS I typed the var (--content-width) in the width field for the container on theme settings and it did not auto populate as I was typing. I clicked to look in the class/variables manager and the classes were there but no variables. The width of the containers changes to what iI set it to in AutomaticCSS. This is my first time using so I am not sure if something was wrong.

    • @backgrounds4everyone275
      @backgrounds4everyone275 Місяць тому

      @@AutomaticCSS I feel really dumb. But On the videos I saw Kevin typing the names of the variables and they were auto populating. When I typed them they did not auto populate and since I saw the category for automatic css in the class manager I assumed they would be stored in the variables manager and I didn't see them. Anyway, right clicking is how you work it and I should probably read directions. Thank you for responding and now I am on the right track. Even though I am pretty embarrassed. 😖

    • @AutomaticCSS
      @AutomaticCSS  Місяць тому

      @@backgrounds4everyone275 Hmm. Please post details and perhaps a screenshot or screen recording in the support community and we can help you there pretty quick. Hard to do on UA-cam.

  • @Horatiu-w3g
    @Horatiu-w3g 12 днів тому

    Hello, please help me! I can't see the shortcut for ACSS Panel. Can you help me understand how to enable it, please?

    • @AutomaticCSS
      @AutomaticCSS  12 днів тому

      You mean the floating icon? It only shows up in the builder. On the front end you open ACSS with the admin toolbar link.