• 0

Wp-Twentyseventeen: Flip Of Size In Featured-Image: From Ok To Ko


Question

Hello dear experts good day 

 

 

first of all;  i hope you are all right and all goes well on your site.  i hope that your home-town is dealing well with the pandemic-situation. 

 

today i have a issue on the wp-theme twentyseventeen: Flip of size in Featured-Image: the size in the desktop view is too big - on mobile (responsive) okay

 

i have found out that there is a flip - if we watch the site on a mobile phone - then the images look tiny - the proportions are neat and nice. see the awesome comparison i have made in chrome.. see the flip of the both pictures..

 

enter image description here

 

btw: see the site: https://www.job-starter.com

 

 

b14dR.png

 

 

see the flip of the size of the image. 

 

 

PBQFA.jpg

 

 

 

My idea on the images was the following: can just not make them parallax by adjusting the styles. They seem to work ok in the mobile width because it turns them into non-fixed images. Using that thinking, i could add this to the “Additional CSS” (at the bottom):


@media screen and (min-width: 48em){

 

  .background-fixed .panel-image {background-attachment: scroll !important;}

 

  .panel-image {height: auto !important; max-height: 800px; background-size: contain !important;}

 

}

 

 

That should fix the images on the page.

 

but it did not.

 

Note: i run the twentyseventeen - theme with a two column option.

 

any idea? see the site: https://www.job-starter.com

 

 

Any ideas!? 

 

look forward to hear from you 

 

 

2 answers to this question

Recommended Posts

  • 0

first of all i will loook into all that. I will try to digg deeper. 

afaik -as far as i understand your postings then i should use another way of upload the images -not as a backgroud image. 

 

 

the interseting finding: the addtional css in the theme-customizer is not working  - in other words. no change in the comands of the additonal css 

 

has any effect - it looks in some way like i have the very same behavior like the other authors ..here:

 

https://stackoverflow.com/questions/14644138/custom-css-in-wordpress-not-working#comment20460334_14644138
Additional CSS not working?
 

https://wordpress.org/support/topic/additional-css-not-working/

 

.wrap { max-width: 1366px; }
.wrap { max-width: 1366px; }
@media screen and (min-width: 1168px) {
    .entry-header,
    .entry-content {
        float: left;
    }
    
    .entry-header {
        margin-right: 5%;
        width: 35%;
    }
    
    .entry-content {
        width: 85%;
    }
}
.search_keywords {
  font-size: 16px;
  font-family: serif;
}
.search_location {
  font-size: 16px;
  font-family: serif;
}
.search_category {
  font-size: 16px;
  font-family: serif;
}
.navigation-top .wrap { max-width: 96%; text-align: center;}
.navigation-top [class*="menu-primary"] { text-align: center; display: inline-block;}
/*For Content*/
.has-sidebar:no(.error404) #primary {
width: 60%
    
/*For Sidebar*/
.has-sidebar #secondary {
width: 30%
}
/*Responsive*/
@media(max-width:768px) {
/*For Content*/
.has-sidebar:(.error404) #primary {
width: 100%
}
/*For Sidebar*/
.has-sidebar #secondary {
width: 100%
}
}
/* STRUCTURE */
.wrap {
max-width: 80% !important;
}
.page.page-one-column:not(.twentyseventeen-front-page) #primary {
max-width: 100% !important;
}
@media screen and (min-width: 48em) {
.wrap {
max-width: 80% !important;
}
}
@media screen and (min-width: 30em) {
.page-one-column .panel-content .wrap {
max-width: 80% !important;
}
}
@media screen and (max-width: 350px) {
.wrap {
max-width: 95% !important;
}
}
@media screen and (min-width: 48em) {
.background-fixed .panel-image {
background-attachment: initial;
}
}
.custom-header-media {
    height: 6vh;
}
@media screen and (min-width: 48em) {
.panel-image {
height: 460px;
}}
.postid-256 .single-featured-image-header img {
/* display: block; */
/* margin: auto; */
height: 45vh;
object-fit: cover;
}
.postid-258 .single-featured-image-header img {
}
@media screen and (min-width: 48em) {
.postid-258 .panel-image-prop {
padding: 12px; height:33px;
object-fit: cover;
}}
    
    @media screen and (min-width: 48em){
  .background-fixed .panel-image {background-attachment: scroll !important;}
  .panel-image {height: auto !important; max-height: 800px; background-size: contain !important;}
}

well this is my  current additional css... 

 

 

 

  • 0


... more insights: 


very interesting as mentioned above: it seems that the additional css in the customizer does not accept any changes.
or - in other words: All i change here .- has absolutly no effect on the behavior of the site.

this is very very interesting _

but i keep on working on the issues


i will report and let you know all the findings.

 

[media]https://imgur.com/leEDm8k[/media]

 

image.thumb.png.bdb9de1831451f6d4178b345f99479b9.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • In a sane world US antitrust laws wouldn't even allow these companies to be in the position to be subjected to EU directives. As you say, better than oligarch nothing.
    • Apple reportedly has a second-generation iPhone Fold planned for 2027 Good grief, Apple hasn't even released a first folding phone and the Apple faithful is already obsessing over the sequel? Seriously people, go out and touch grass... because this level of obsession is borderline stalkery/neurotic.
    • I checked on the IPs associated with every login and they're all mine... And whenever I get a new prompt, there is no activity to show for it. 
    • Brave Browser 1.91.178 by Razvan Serea Brave Browser is a lightning-fast, secure web browser that stands out from the competition with its focus on privacy, security, and speed. With features like HTTPS Everywhere and built-in tracker blocking, Brave keeps your online activities safe from prying eyes. Brave is one of the safest browsers on the market today. It blocks third-party data storage. It protects from browser fingerprinting. And it does all this by default. Speed - Brave is built on Chromium, the same technology that powers Google Chrome, and is optimized for speed, providing a fast and responsive browsing experience. Brave Browser also features Brave Rewards, a system that rewards users with Basic Attention Tokens (BAT) for viewing opt-in ads. This innovative system provides an alternative revenue model for content creators and a way to support the Brave community. SlimBrave Neo takes all the good things about Brave and makes them even better by keeping everything clean, light, and privacy-focused. It removes the extra clutter, turns off features you might not need, and cuts down on anything that could slow you down or collect unnecessary data. Because it relies on simple settings and policies instead of modifying the browser itself, you still get full Brave compatibility—just in a smoother, lighter, and more privacy-friendly package. Brave Browser 1.91.178 changelog: Fixed certain extensions not working as expected. (#56271) Fixed inability to use Brave Sync in certain cases. (#55203) Upgraded Chromium to 149.0.7827.196. (#56598) Download: Brave Browser 64-bit | 1.2 MB (Freeware) Download: Brave Browser 32-bit View: Brave Homepage | Offline Installers | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Yeah, I signed out of everything when I changed the password to my account. I keep checking device history and there's never anything new other than my own activity. 
  • Recent Achievements

    • Enthusiast
      Xonos went up a rank
      Enthusiast
    • Conversation Starter
      Admir earned a badge
      Conversation Starter
    • First Post
      The_Focal_Point earned a badge
      First Post
    • Apprentice
      daryld went up a rank
      Apprentice
    • Contributor
      Carltonbar went up a rank
      Contributor
  • Popular Contributors

    1. 1
      +primortal
      405
    2. 2
      +Edouard
      169
    3. 3
      PsYcHoKiLLa
      129
    4. 4
      neufuse
      69
    5. 5
      Xenon
      67
  • Tell a friend

    Love Neowin? Tell a friend!