Homepage

challenges

(Patrick Heijmans) #1

I like this homepage a lot :slight_smile:
How did you guys do that ?


(Robert McIntosh) #2

Long thread from the relaunch here:

and here:


(Richard Millington) #3

You can have the custom CSS here:

.below-site-header-outlet.experts-homepage, .below-site-header-outlet.experts-homepage.hidden{
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.show-experts-homepage #main-outlet{
padding-top: 10px;
}
.collapse-experts-homepage{
.experts-homepage-wrapper {
top: 68px;
}
&.show-experts-homepage #main-outlet{
padding-top: 82px;
}
}
.postsContainerFlex {
margin-top: 40px!important;
display: flex!important;
flex-flow: row wrap;
justify-content: space-around!important;
width: 100%;
height: auto;
}
.postContainer {
width: 270px!important;
margin-bottom: 30px;
background-color: #fcfcfc;
border-radius: 8px;
}
.postShadow {
-webkit-box-shadow: 0 0 16px 0 rgba(139,139,139,0.2)!important;
-moz-box-shadow: 0 0 16px 0 rgba(139,139,139,0.2)!important;
box-shadow: 0 0 16px 0 rgba(139,139,139,0.2)!important;
}
.image-section {
height: 170px;
}
.teammember_img {
background-color: #f2f2f2;
border-radius: 100%;
display: block;
margin: 0 auto;
position: relative;
top: 20px;
width: 140px;
height: 140px;
}
.postTitle {
padding: 13px 20px 20px 20px;
min-height: 112px;
a{
font-size:18px;
}
}
.postDate {
font-family: ‘Open Sans’,sans-serif!important;
font-size: 12px!important;
text-transform: uppercase;
color: #9697a1!important;
margin-bottom: 10px;
}
.postInfo {
margin: 0 20px;
border-top: 1px solid #e5e5e5;
height: auto;
overflow: hidden;
padding: 7px 0 13px 0;
}
.postAuthor {
float: left;
font-size: 13px!important;
font-weight: 600!important;
color: #abacb4!important;
}
.postComments {
float: right;
}
.likes, .views {
margin-right: 10px;
}
.experts-homepage-wrapper{
position: relative;
top: 68px;

#experts-homepage-header-image img{
    width: 100%;
}
.homepage-spacer{
    min-height: 68px;
}
#show-homepage, #hide-homepage{
    position: absolute;
    right: 20px;
    top: 20px;
    font-size:14px;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.25);
    z-index: 900;
}
.homepage-container{
    margin-bottom: 120px;
    
    h2{
        font-size: 40px;
        line-height: 40px;
        color: #2c314c;
        text-align: center;
        margin-bottom: 15px;
        text-transform: uppercase;
    }
    .container-description{
        font-size: 21px;
        width: 70%;
        margin: auto auto 30px auto;
        line-height: 34px;
        text-align: center;
        color: #989898;
    }
    .btn {
        border-radius: 8px;
        font-size: 20px;
        padding: 10px 20px;
    }
    
    .btn-primary{
        background: #fcda55;
        color: black;
    }
    #start-discussion{
        margin-right: 50px;
    }
    #search-bar{
        font-size: 14px;
        height: 30px;
        border-radius: 8px;
        padding-left: 15px;
    }
    .get-started{
        position:relative;
        top: -200px;
        margin-bottom: -160px;
        .homepage-title{
            margin-bottom: 30px;
            h2, h3{
                color: #ffffff;
            }
            h3{
                font-size:22px;
                padding: 15px 0px;
            }
        }
    }
    
    .engagement-boxes{
        margin-bottom: 40px;
        
        a{
            background-color: #fcda55;
            display: block;
            width: 100%;
            height: 100%;
            color: #393939;
        }
        a:hover{
            box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
        }
        span {
            font-size: 18px;
            font-weight: bold;
        }
        .icon-wrapper{
            height: 70px;
            width: 70px;
            margin: 0px auto;
            padding: 50px 0px 10px;
        }
        .box{
            margin: 10px;
            padding: 0px;
            width: 200px;
            height: 200px;
            border-radius: 10px;
        }
        .cls-1{
            stroke: #393939;
        }
        .cls-2{
            fill: #393939;
            stroke: #393939;
        }
    }
    .help-people{
        padding-top:50px;
        padding-bottom: 20px;
    }
    .top-buffer{
        margin-top: 60px;
    }
    .background-color{
        background-color: #f8e084;
        h2{
            color: #393939;
        }
    }
    .right{
        float: right;
    }
    .inline{
        display: inline-block;
    }
    .box {
        display: inline-block;
        vertical-align: top;
        padding: 20px;
    }
    .box-2{
        width: calc(50% - 63px);
        margin: 0px 10px;
    }
    .box-4{
        width: calc(25% - 43px);
    }
    .topic-lists {
        padding-bottom: 50px;
        h3 {
            padding: 6px 20px;
            font-size:24px;
        }
        .box-image{
            width:100%;
            position:absolute;
            border-radius: 5px;
            display:none;
        }
        .header-wrapper{
            padding: 30px 10px 30px 0px;
            color: #393939;
            position: relative;
            
            .btn{
                padding: 5px 10px;
                font-size: 16px;
                margin-top: 2px;
            }
        }
        .box {
            padding: 0px;
            width: calc(50% - 22px);
            position: relative;
        }
        .full-width{
            width: calc(100% - 46px);
            margin: 10px 2px;  
        }
        .views, .posts{
            display: none;
        }
        .badge-wrapper.box{
            max-width: 160px;
            width: initial;
        }
        th{
            text-transform: uppercase;
            padding: 0px 5px;
            display:none;
        }
        .topic-list-item{
            &:nth-child(odd){
                background-color: initial;
            }
            .category{
                display:none;
            }
            .posters{
                min-width:30px;
                width: 30px;
            }
            .posters a{
                display:none;
            }
            .posters a:first-child{
                display:initial;
            }
        }
    }
}

}

.center{
text-align: center;
}


(Patrick Heijmans) #5

Great! is this all i need to do ?
Please be sure, i don’t want to make a copy but have a nice looking frontpage to build on!


(Sarah Hawk) #6

You should build it out as a separate theme. If you want advanced support jump over to https://meta.discourse.org/

If you have a budget I’d recommend talking to @JoeBuhlig


(Patrick Heijmans) #7

Thanks, just contacted @JoeBuhlig