WordPress will automatically add a body class to the body tag if a user is logged in. You could potentially use this to adjust the height.
For example..
.logged-in #myElement {
...Your CSS
}
Something like this should work.
.logged-in.twentyseventeen-front-page.has-header-image .custom-header-media {
height: calc(70vh);
}
Note the calc 70vh is 70% of viewport height, so adjust to what you need.
Related Posts:
- Programmatically set page_on_front
- How to make my front page display only the most recent sticky post, plus usual widgets?
- How do I set the front page programmatically?
- Custom background for the index page only?
- Load front-page.php from subfolder
- Can you select a post as the front page or only pages?
- Can’t edit front page of website [closed]
- How to block access to blog-page for users not logged in?
- Pagination not Working on only Front page on latest verson of WordPress
- Do I need an empty page for a different blog page?
- Showing option when page is frontpage
- Is it possible for homepage in Twentyseventeen theme to look like a standard page?
- WordPress site front page fails to load in IE
- Home/front page won’t display content after a form is submitted
- how to create a static front page for my blog in wordpress
- Home link in the homepage of my wordpress does not show my blog posts
- WordPress, how to figure out how to edit front page
- How to set a static html front page
- NON Static-Front Page
- Front Page Settings
- What code controls the animation for the front-page header in TwentySeventeen
- Setting index.php as a static home page without posts?
- Implement a slideshow-like frontpage with text overlays
- Showing “best posts” in front page
- Pull in content from page defined as static front page
- Excluding front_page from is page condition
- Why does my site show the correct front-page when you arrive at the site, but not when you click ‘home’?
- Change Front Page Word Press 4.1
- custom change in front page [closed]
- Remove edit post link from static front page
- WordPress certain directories not connected
- Different front page for logged in and logged out user but the same URL in WordPress
- Homepage not working after setting as frontpage
- Hiding New Posts on Front Page
- How to connect front-page.php to page in admin panel?
- Can I have two websites with one front page
- I created a new home page and set it as the home page in the reading section, but I get an error when typing in the home page url
- Categories with post from child categories on front page
- Static front page – going against the grain
- When Front page and Posts page are specified is it possible to just have front-page.php as the home page?
- Custom background for the index page only?
- No posts on front page
- How to display only sticky posts on my automatically generated front page?
- Front page welcome message area
- Static front page as parent of with child pages?
- How did WordPress link an empty page at dashboard to an actual php file?
- Using pre_get_posts on true pages and static front pages
- Filter front page posts by category
- Unable to load static front page on home url
- How to set a custom post type post as static front page?
- Pagination causes error 404 when used with front-page.php
- How to delete default themes
- home.php or frontpage (via settings) for theme?
- How to display blog posts on a dedicated page?
- WP Multisite Static Frontpage
- Frontpage pagination issue with paginate_links() function
- Performing a POST action on homepage goes to posts page
- Loop on front-page.php
- if I create ‘front-page.php’, then how do I link to post index?
- Disable front-page.php template
- How to set up a single portfolio page as home page?
- Arrange posts by date in front page
- Changed site URL and now my Front Page doesn’t display correctly
- Can’t see widget areas in my customizer
- How to Display a Plugin function (content) on frontpage using index.php
- How to display summary content from a Page (Not a Post) on another page
- style.css doesn’t load on the home page when front-page.php activated (using stock theme)
- Why wordpress kicks me back to the dashboard of xampp? [closed]
- How can I move the logo in Twenty Seventeen Theme Next to the menu bar
- How to display the posts and news in front page?
- How to Find the Page the Front Page is Using?
- My custom template page not loading content inside it?
- All Pages visible on the Frontpage
- Reusing content from front page on sub page
- Remove Custuomize Sections
- How to set up Custom Post Type archive page as Front page
- Theme Development -> Specific Homepage
- Set front_page programatically after user login via query, while leaving site option alone
- What is the need for the static front page [closed]
- singular posts using archive styling
- AMP version of front page without plugin
- Show posts on front page only
- Linked pages from plugin on front can’t see $wpdb
- is_front_page use in sidebar.php
- How to show full post on home page
- Elementor Combined all Sections into 1 Text Editor
- Ability to change homepage on WordPress using API
- Twenty seventeen header is not responsive
- Make pagination work as a carousel (custom query)
- How to get page title () in a different order?
- Post not showing in the front page
- How to detect if some page template has been selected
- Infinite scroll function for Twenty Seventeen
- Page WYSWIG only allowing slides
- I can’t enqueue Suggest.js in frontend – not added
- New WP_Query not isolating custom post types on front-page template
- Loop doesn’t display posts. It displays a link to the home page instead
- Font Page overrides rewrites
- Fix Pagination Directory on a page set as Front Page/Main Page [duplicate]
- Icon not shown in Dropdown menus in Twenty Seventeen Theme