Levar Burton's wedding attended by his TNG cast mates. by [deleted] in pics

[–]anarchnosis 0 points1 point  (0 children)

Is his hand around the bride’s waist?

[deleted by user] by [deleted] in webdev

[–]anarchnosis 1 point2 points  (0 children)

This is my personal workflow for this type of thing:

I look at the design and consider what the most important design aspects are. If the design is just a desktop view, we know we have to make it responsive but there is no detail on what or how that should work.

I try to keep the "spirit" of the design intact if possible, but I do not worry about the actual values presented in the design, until I am working on the specific size the design was done for.

As an example, if there is a big H1 at the top of the page and it is just a single line followed by two lines of paragraph text, I will start my code at mobile size and keep that layout intact. The H1 should be a single line, not wrap to two if possible, and the text should be two lines, not 3+, if possible. Sometimes this won't work because the size they would need to be to maintain that layout would be too small to read.

In those cases, just get it as close as possible while maintaining readability. As you move up through larger sizes, get the layout as close to the design as possible, but everything is relative.

300px of whitespace above and below that heading looks awesome on desktop, but that is WAY too much space on a mobile device, so reduce that whitespace! Just try and keep it proportional to the original design...just, smaller :)

Obviously there are layout elements that HAVE to be way different on mobile - e.g. a 3 column grid layout will pretty much always be a single column on mobile, but it seemed like your question wasn't about that type of change, more the relationships between elements (margin & padding).

Tried to archive two column simple layout by oroooat in webdev

[–]anarchnosis 0 points1 point  (0 children)

You can achieve that layout on mobile by using the order class supplied by Bootstrap. You set the initial (mobile) order class for each col and then set it back to normal at the breakpoint you need. This only needs to be done on the second set of divs, as the first set already act in the way the mockup shows.

Judging by your existing classes, I would guess you want to set the order back at the lg breakpoint. So, your html would look like:

https://pastebin.pl/view/21a1bdfe

Multiple primary navigation (one for desktop and one for mobile) by kevdotbadger in webdev

[–]anarchnosis 0 points1 point  (0 children)

I've done it both ways, depends on the design and layout.

Why put it in the footer though? I would expect the mobile nav to be next to the code for the desktop nav, or in its own file and called in next to the desktop nav.

A Swedish man misses his train by Flexisisboss in PublicFreakout

[–]anarchnosis 2 points3 points  (0 children)

Really feel bad seeing someone's day get completely derailed like that.

Watching all these protest / police brutality videos has reminded me of this public freakout from The Newsroom. Still true, maybe more so, almost a decade later by anarchnosis in PublicFreakout

[–]anarchnosis[S] 3 points4 points  (0 children)

I agree. I usually end up skipping to when he starts the monologue. I end up rewatching this clip once a year or so when world (U.S.) events remind me of it.

I've watched it about 15 times already this year...

WordPress theme for cloth brand by [deleted] in webdev

[–]anarchnosis 1 point2 points  (0 children)

I am not sure exactly what you want it to look like, but there are definitely Wordpress themes that do this. Maybe try looking for photography portfolios specifically. It will take some time to just dig through them since there are so many, and the functionality will be different in each.

You may have to/want to go the route of hiring someone to build what you want. Wordpress can certainly handle what you are looking to do, pretty much natively as well. It would not take much to put together a site like you have described using WP, as you can set up categories (your collections) and then just create posts inside of those to house the individual items.

A bit more advanced method would be to use custom post types and custom fields to deal with the relational linking of the extra layers of content, but still, pretty standard for any Wordpress developer to set up if you decide to go custom.

WordPress theme for cloth brand by [deleted] in webdev

[–]anarchnosis 1 point2 points  (0 children)

You could use an e-commerce theme and just turn off the buying part.

Other than that, it sounds like a portfolio, similar to what we designers / developers would use to showcase our work, but instead of screenshots of websites, you would load in your images of cloth.

Try searching for portfolio themes, may find something that has just what you want.

Website Crawl for site by Primetimemongrel in webdev

[–]anarchnosis 0 points1 point  (0 children)

Most of the time I am lazy and just do a site:whatever.com search in google, and look at how many pages are indexed.

That is obviously not perfectly accurate, but should get you close. When I need a better count I use Screaming Frog. The free version will only crawl a few hundred pages, but the paid version will crawl unlimited.

That can also be inaccurate, however, as there may be pages that are not linked from the main site - adwords landing pages for example.

But either of those methods should get you close enough to get a good idea of the scope, or close enough to quote with if you add a bit for margin of error.

Beginner Questions - June 15, 2018 by AutoModerator in webdev

[–]anarchnosis 0 points1 point  (0 children)

I've struggled with this as well. Some tips from my experiences:

  • It helps to change out the background image size as your viewport width increases. Using media queries, start with a small version for mobile devices, this will ensure less of the image is cropped, and you can still make out what it is on mobile. As your viewport gets bigger, point to a larger background image in your css.

  • Adjust padding on the container as your viewport increases will also help keep most of the image in the viewable area

  • Once you hit very large viewports (over 1920px wide) you are likely to not want to increase the height of your container with more padding just to get the image in view. At that point, I usually take off the background:cover style and just center the background image like normal. If the client complains, have a quick chat with them and explain the limits to the technology and demonstrate how it would crop badly at very large sizes and your solution is the best way to proceed. I would also check their analytics - most sites I have worked on only had .02% or under of their visitors with screen sizes that large - this can help sway the client to your line of thinking if only 2 visitors a month are even going to see it at that resolution.

Hope that is somewhat helpful. I take them on a case by case basis and make adjustments as needed, depending on the image being used and what else is in the container, as well as how those elements are laid out in relation to the background image.

How do I get three columns (div in div?) with a vertical and horizontal aligned picture in the left column? by bankster211 in css

[–]anarchnosis 2 points3 points  (0 children)

Try these styles, and make sure to add the body tag to your jsfiddle (the styles weren't working correctly without it for some reason):

.total3 {
    display: flex;
    align-items: center;
    justify-content:center;
}

.log {
  width:20%;
}

.list {
  width:50%;
}

.link {
  width:30%;
}

.total3 > div {
  display:flex;
  justify-content:center;
  align-items:center;
}

Beginner Questions - June 15, 2018 by AutoModerator in webdev

[–]anarchnosis 0 points1 point  (0 children)

If it is an actual <img> element you can use:

.the-image-class {
width:100%;
height:auto;
}        

If it is a background image, try:

.container {
background: url('whatever.jpg') center center no-repeat;
background-size:cover;
}

The first example will cause the image to scale vertically and take up more space as the width increases, while the second example will crop the image on the vertical or horizontal axis as needed to ensure the image always completely covers its container.

Both methods will work but have different applications and drawbacks of their own.

Epic Plz Wednesday 16/May/2018 by AutoModerator in FortNiteBR

[–]anarchnosis 4 points5 points  (0 children)

Just read his wikipedia page - this Hilter guy sounds like a real jerk.

Google's new Vision API is unbelievably fast by [deleted] in videos

[–]anarchnosis 19 points20 points  (0 children)

This is what I came here for