Team: 2
1. Brief
Difficulty: 5/5
Link: www.nesfjellet.no
An ongoing project that grows into something bigger. After the design was made I put it into code and the customer wanted to hurry up. This means that some bugs become features 🙂 After I started with the basic SEO I noticed in SEMrush how much more potential this theme has and that I can achieve great results in Google.
2. Challenge
3. Process
The plugin used for the subscription to the mailing list is one of the worst I had to work with since all the styling is not out of the box. I mean they do have styling, but just basic color change and some borders. To make it look the way I need it to look, I had to put my own CSS into action. And because I had 2 different seasons to style for, the code has become rather long:
[css]* Footer nyhetsbrev form */
#mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody {
padding: 0 !important; /* No extra paddings made by the form */
}
.footerismo .mailerlite-form .mailerlite-form-field label { /* No email label */
display: none;
}
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent h4 { /* Heading */
font-family: var(–font-h3) !important;
font-size: 30px;
margin: 0 0 3px 0;
color: #e0eaf4;
}
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input::placeholder { /* Email placeholder text */
color: #e0eaf4;
opacity: 1;
font-style: normal;
font-family: "Neutrif studio regular";
font-weight: 400;
}
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input { /* Email text field and placeholder */
font-style: normal;
font-family: "Neutrif studio regular";
font-weight: 400;
font-size: 18px;
padding-left: 25px;
color: #e0eaf4;
}
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent {
margin: 0; /* spacing between the heading and text field */
}
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow {
height: auto; /* Centers vertically the text field an the button */
width: 100%;
float: left;
display: flex;
align-items: center;
}
.footerismo .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-button-horizontal {
width: 42px; /* Button */
position: absolute;
right: 17px;
}
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button {
border-color: #e0eaf4;
border-width: 1px;
color: #e0eaf4;
height: 42px;
}
.footerismo button[type="submit"]:before {
content: "\f105";
font-family: "fontawesome";
font-weight: 300;
font-size: 34px;
padding-left: 1px;
color: #e0eaf4;
}
.footerismo button[type="submit"]:hover:before {
color: #000;
}
.footerismo .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal {
width: 100%; /* Text field */
float: left;
}
/* Mobile Summer Nyhetsbrev */
@media only screen and (max-width: 400px) {
.ml-mobileButton-horizontal {
margin-bottom: 0;
margin-top: 4px;
width: 36px !important;
height: 36px;
border: #e0eaf4 solid 1px;
position: absolute;
right: 5px;
}
.footerismo button[type="submit"]:before {
margin-top: 8px;
}
.ml-mobileButton-horizontal button[type="submit"]:not(.w-btn) {
background: none !important;
}
#mlb2-588874 .ml-mobileButton-horizontal button {
background-color: none !important;
}
}
/* Winter nyhetsbrev */
:is(.page-id-831, .page-id-988, .category-vinteraktiviteter)
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper {
background-color: #0d2237;
}
:is(.page-id-831, .page-id-988, .category-vinteraktiviteter)
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
background-color: #2e77ae;
}
:is(.page-id-831, .page-id-988, .category-vinteraktiviteter)
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button {
background-color: #2e77ae !important;
}
:is(.page-id-831, .page-id-988, .category-vinteraktiviteter)
.footerismo #mlb2-588874.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button:hover {
background-color: #e0eaf4 !important;
}
:is(.page-id-831, .page-id-988, .category-vinteraktiviteter)
.footerismo input:not([type="submit"]):focus {
box-shadow: 0px 0px 0px 0px #04f9ff;
}[/css]