Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

I would really like this by the end of Tuesday on U.S. Central time but a little later is acceptable. I would have preferred to keep doing this myself and work everything out but my problems are...

1 answer below »
I would really like this by the end of Tuesday on U.S. Central time but a little later is acceptable. I would have preferred to keep doing this myself and work everything out but my problems are piling up and I just left the country on a work emergency. With not much time to work on this, I am hoping someone can help complete this week's updates and fix all the bugs to bring it more current. I am trying to update and complete a grid layout for my gallery and products page. The gallery HTML has been updated slightly but the CSS needs some serious work. I haven't even looked at products in a while. All the pages are in fairly early pages and I am not looking to have the entire site perfect or complete. Anything you can do to fix bugs with the overall site is appreciated though. I mainly want to fix bugs with responsiveness and finish the week's assignment. I know there are no videos or anything like that yet, but I do have more photos readily available in the folder for use on the gallery page. I think just three (one set per column) is good for now which should be just a quick copy past for the most part. The CSS is where my main concern lies for that page. I have attached the current mess of a site in a folder in addition to the assignment.

https://drive.google.com/drive/folders/1mNOFB_YZC-muwxmgm_iYCbhGey6TbqRm?usp=sharing
Answered 2 days After Jan 16, 2023

Solution

Sanskar answered on Jan 18 2023
48 Votes
GREY NODES
Order ID:11599
By-Sanskar Aggarwal    
DETAILING/Product
CSS part –
    Major concern in this assignment was css in which same name class was defined at different spots and with different styling which were creating issues
ugs..
Grid has been added along with hover properties to make the website look more suitable
More work on product page (images used) for better and easier understanding of user.
All other requirements are met along with comments.
CSS code- (Style.css)
* reset default styles *
ody, header, nav, main, footer, div img {
  margin: 0;
  padding: 0;
  border: 0;
}
*
    Media query for styles specific to screens with widths of at least 428px.
    - Set the font and background color for the html and body elements.
    - make the max-width 100% for responsive design
*
@media only screen and (min-width: 428px) {
    html, body {
        height: auto;
        background-color: #ffffff;
        font-family: sans-serif;
        max-width: 100%;
    }
    /* set banner and nav background colors *
    header .nav-banner {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        background-color: #cccccc;
        height: auto;
        max-height: 10vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .logo {
        max-height: 10vw;
    }
    .nav-banner-text-container {
        z-index: -1;
        position: absolute;
        top: 0; /* adjust this value as needed *
        width: 100%; /* adjust this value as needed *
        max-height: 10vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .nav-banner-text {
        font-size: 4vw; /* adjust this value as needed *
        text-align: left;
        font-family: 'Oswald', sans-serif;
        padding: 16vw;
        font-weight: bold;
        margin-bottom: 0.8vw;
    }
    .hero-banner {
        display: flex;
        justify-content: center; /* align the elements inside the container horizontally *
        align-items: center; /* align the elements inside the container vertically *
    }
    .hero-image {
        width: 100%;
        opacity: 0.9;
        height: 25vw;
    }
    .subtitle {
        position: absolute;
        font-size: 3em;
        text-align: center;
    top: 63%;
    left: 26%;
        text-shadow: 4px 4px 8px #000000;
        color: #ffffff;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        text-shadow: 4px 4px 8px #000000;
    }
    /* set nav to be absolute and appear at the top of the page *
    nav {
        position: relative;
        justify-content: flex-end;
        top: 2.5vw;
        width: 100%;
    }
    /* set nav font and alignment *
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: right;
        list-style-type: none;
        margin: 0;
        text-align: right;
    }
    nav li {
        display: inline-block;
        font-size: 2.5vw;
        font-family: 'Bree Serif', serif;
        font-weight: bold;
    }
    /* set nav link styles *
    nav li a {
        z-index: 1;
        display: block;
        color: #0066cc;
        text-align: center;
        padding: 0.2vw 1vw 0.6vw 1vw;
        text-decoration: none;
        font-size:2vw;
        margin: 1.5vw 0.8vw 6vw 0.8vw;
    }
    nav li a:hover{
        text-shadow: 1px 1px rgb(156, 222, 246);
        background-color: #000000;
        border-radius: 45px;
    }
    /* set main content and main-content background color *
    main {
        background-color: #ffffff;
    }
* Gallery Styles *
.photos {
    /* add styles for the overall layout of the gallery section *
    /* display: flex; *
    /* flex-wrap: wrap; *
    background-color: #cccccc;
    border: 2px solid black;
}
.before-after-images {
    /* add styles to control how the before-and-after images are displayed *
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.5vw;
    row-gap: 0.5vw;
    /* grid-gap: 20px; *
    /* align-items: center;
    justify-content: center;
    position: relative; *
    width: 100%;
}
.before-after-images img {
    /* add styles for the before-and-after images *
    width: 30vw;
    height: 20vw;
    border: 2px solid black;
    object-fit: cover;
    margin-left: 1vw;
}
.photos p{
    font-size: 2vw;
    font-weight: bold;
    text-align: center;
}
aside.testimonials {
   ...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here