Comments (4)
I forgot to mention that my problem is that the image gets automatically cropped. That is what I am trying to avoid by changing the dimensions.
from feeling-responsive.
You have to check out the following sass-file › _sass/_07_layout.scss
You can change the #masthead settings and you can set them to your taste different for all different sizes of screens. Happy coding :)
#masthead {
height: 200px;
}
/* Masthead
------------------------------------------------------------------- */
#masthead {
background-color: $primary-color;
}
#masthead-no-image-header {
background-color: $primary-color;
}
#masthead-with-text {
text-align: center;
font-size: rem-calc(54);
font-family: $header-font-family;
color: #fff;
text-transform: uppercase;
text-shadow: 0 2px 3px rgba(0,0,0,.4);
}
#masthead-no-image-header {
height: 175px;
}
#masthead-no-image-header #logo img {
margin-top: 60px;
}
/* Masthead › small-only
------------------------------------------------------------------- */
@media #{$small-only} {
#logo img {
display: none;
}
#masthead {
height: 200px;
}
#masthead-with-pattern {
padding: 15px 0;
}
#masthead-with-background-color {
padding: 15px 0;
}
#masthead-with-text {
height: 220px;
padding: 30px 0;
font-size: rem-calc(36);
}
#masthead-no-image-header {
display: none;
}
}
/* Masthead › medium-only
------------------------------------------------------------------- */
@media #{$medium-only} {
#logo img {
margin-top: 60px;
}
#masthead {
height: 280px;
}
#masthead-with-pattern {
padding: 20px 0;
}
#masthead-with-background-color {
padding: 20px 0;
}
#masthead-with-text {
padding: 60px 0;
height: 300px;
}
}
/* Masthead › large-only
------------------------------------------------------------------- */
@media #{$large-only} {
#logo img {
margin-top: 80px;
}
#masthead {
height: 310px;
}
#masthead-with-pattern {
padding: 30px 0;
}
#masthead-with-background-color {
padding: 30px 0;
}
#masthead-with-text {
height: 330px;
padding: 60px 0;
}
}
/* Masthead › xlarge-up
------------------------------------------------------------------- */
@media #{$xlarge-up} {
#logo img {
margin-top: 110px;
}
#masthead {
height: 380px;
}
#masthead-with-pattern {
padding: 45px 0;
}
#masthead-with-background-color {
padding: 45px 0;
}
#masthead-with-text {
padding: 95px 0;
height: 400px;
}
}
#title-image-small {
height: 240px;
}
#title-image-large {
height: 520px;
}
#title-image-index-small {
height: 120px;
}
#title-image-index-large {
height: 260px;
}
from feeling-responsive.
Thanks Mo for the quick response. That solved the problem. It was the one thing I had trouble figuring out.
from feeling-responsive.
You're welcome, Greets from Kirgisistan...
from feeling-responsive.
Related Issues (20)
- Broken link "style your header" in https://phlow.github.io/feeling-responsive/documentation/#title-images HOT 3
- Various missing icons? HOT 2
- Layouts: xml-style-xsl missing page front-matter value
- Please add a Light/Dark toggle button HOT 5
- Navbar for links located inside the page do not close the navbar - long page websites on small phones HOT 1
- Navigation order in small view HOT 1
- Top menu bar disappearing after resizing window from large towards mobile (small) HOT 2
- README: no installation instructions HOT 5
- Feeling Responsive Theme Version 1.92 - release date 2021-06-21
- Narrow pages and mobile nav seems broken HOT 1
- Header Images not loading HOT 2
- Inserting Overlay Content Into Header
- Footer Is Not Full Page Width On Some Pages Of My Website
- How can I increase the size of the logo / masthead?
- Docker build fails due to ruby/listen gem incompatability HOT 3
- How to use the theme with Jekyll HOT 2
- Is it possible to make the site show pages in two languages easily? HOT 5
- Sass deprecations HOT 1
- Could not find a valid gem 'jekyll-theme-feeling-responsive' HOT 2
- Getting a build error HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feeling-responsive.