u/nauseousdog

Help - Prevent Container from Wrapping on Mobile

Help - Prevent Container from Wrapping on Mobile

Hello! I am having an issue figuring out how to get a specific container on the "About" page of my website to stop wrapping its text on smaller screens. The container has a "sidebar" column (containing my name and some contact information) and a "main-content" column (containing one image). I'm fine with the margin, padding, and font size of this container as seen on my desktop. However, when I open the page on my phone, I would prefer for the container to adhere to the boundaries/width of the section itself without wrapping.

I don't know what to add to the "mobile responsive" area of my CSS sheet in order for the container to "shrink" on mobile for it to fit, or some other solution to prevent the wrapping. Please help - thank you!

u/nauseousdog — 4 days ago

Help - Convert Horizontal Navigation Bar to Column on Mobile

Hello there! I have a horizontal display for my navigation links on desktop, and would like for them to display as a vertical column (left-justified) on mobile devices. I have attached the "mobile responsive" area from my .CSS sheet here:

 @media (max-width: 767px) {
  body {
    font-size: 18px;
  }
  

  .layout {
    width: 100%;
    grid-template: "header" auto "main" auto "leftSidebar"  auto "rightSidebar" auto "footer" auto / 1fr;
  }


  aside {
    border-bottom: 1px solid;
    padding: 9px;
    font-size: 0.9em;
  }
  
  nav {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
  }
  

  nav > ul {
    padding-top: 0.5em;
  }

  nav > ul li > a,
  nav > ul li > details summary,
  nav > ul li > strong {
    padding: 0.5em;
    margin: 0;
  }
}

Please let me know if I should supply any other code for more context about the issue. Nothing I've implemented seems to be working... (I am very, very new at this whole coding thing.) If it helps, I started off my site by using Petrapixel's layout generator. Here's the link to my website. Any help would be appreciated.

u/nauseousdog — 1 month ago

Please Help - Attention Seeking Behaviors, Persistent Biting

  • Rescued at 6 months, current age is about 18 months
  • "Pointer mix" is our best approximation
  • 2 owners; my wife and myself
  • No other pets in the house

Our dog has previously been able to relax with us on the couch to watch movies, videos, and TV together. Around the time that he turned 1 year old, he became restless whenever we would try to hangout with him in the same way again. Now, whenever we try to watch something, he will attack both of us (lunging, nipping) - seemingly to get our attention, or to convey some other desperation. He seems to only be able to rest on the couch (i.e. not barking, not biting at us) when there is only 1 specific owner in the room with him, and without the TV on. We usually end up crating him after we've attempted to disengage his behavior for up to an hour each time (i.e. redirecting to enrichment activities, leaving the room for a few minutes).

I work outside of the house, and my wife works remotely. She spends more time alone with him than I do: taking him for walks 2-3 times daily, playing with him (including scent training), and sitting on the couch together. For most of the day, though, he is inside of his crate. When I get home in the evening is when the attacks begin...

Sources online tend to suggest under-stimulation, the rebellious nature of an adolescent puppy, or something else attributed to him being mixed with a Pointer. We really don't know which direction to point ourselves in, and miss his younger days of falling into a deep sleep on the sofa with us. )-': If anyone has some... POINTERS... for us, please send them our way. Thanks!

reddit.com
u/nauseousdog — 2 months ago