-
Search Results
-
Hello,
I noticed this past week that I have somehow clobbered the responsive mobile view for my website, which uses Genesis Sample. I'm not sure when or how I did this. I am using Genesis Sample. My WordPress code and my Genesis + Sample are current.
My website displays fine for a regular browser view, and in horizontal layout view on a table. But vertical layout view on a tablet and mobile phone browsers do not display correctly.
The issue seems to be with my main content div. My wrapper, header, navigation menu, and sidebars display correctly on mobile. It's only the items in my main content area that display wrong. Each post title and body runs off the mobile screen, generating a horizontal scroll bar to see the rest of the title and post, instead of wrapping.
Here are 2 screenshots to illustrate what I am describing.
https://www.screencast.com/t/zLNcK5rq2sV
https://www.screencast.com/t/v8vxt7UqWIf anybody has an immediate hunch of what I need to fix, I'd appreciate it.
Thank you!
Colleen Greene
[Resolved]Topic: Genesis Sample
Hi-
I just downloaded the Genesis Framework and the Genesis Sample. I wanted to move my current website over to Genesis, because I thought it was a responsive design. I'm not sure where to look, but my navigation bar is over to the right side of the header area and the nav bar is actually going off the screen. Any advice to a new user? Is the sample child responsive?
Thanks,
TerriI've been using Sample child theme & Genesis Framework for a couple of year without problem. But, after I've migrated my site to SiteGround (still not live yet), I started getting the following error on my plugin page.
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/ethany62/public_html/wp-content/themes/genesis-sample/functions.php:1) in /home/ethany62/public_html/wp-content/plugins/cm-answers-anonymous-posting/libs/FlashMessage.php on line 24
Then, I got locked out from the site with the below error message on the WordPress sign-in page. I can no longer login to my site now.
Warning: Cannot modify header information - headers already sent by (output started at /home/ethany62/public_html/wp-content/themes/genesis-sample/functions.php:1) in /home/ethany62/public_html/wp-content/plugins/better-wp-security/core/modules/hide-backend/class-itsec-hide-backend.php on line 411
Here's the codes for functions.php
<?php //* Start the engine include_once( get_template_directory() . '/lib/init.php' ); //* Child theme (do not remove) define( 'CHILD_THEME_NAME', 'Genesis Sample Theme' ); define( 'CHILD_THEME_URL', 'http://www.studiopress.com/' ); define( 'CHILD_THEME_VERSION', '2.1.2' ); //* Enqueue Google Fonts add_action( 'wp_enqueue_scripts', 'genesis_sample_google_fonts' ); function genesis_sample_google_fonts() { wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Lato:300,400,700', array(), CHILD_THEME_VERSION ); } //* Add HTML5 markup structure add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) ); //* Add viewport meta tag for mobile browsers add_theme_support( 'genesis-responsive-viewport' ); //* Add support for custom background add_theme_support( 'custom-background' ); //* Add support for 3-column footer widgets add_theme_support( 'genesis-footer-widgets', 3 ); //* Customize the credits add_filter( 'genesis_footer_creds_text', 'sp_footer_creds_text' ); function sp_footer_creds_text() { echo '<div class="creds"><p>'; echo 'Copyright © '; echo date('Y'); echo ' · <a href="http://webcazine.com">Webcazine</a> · All rights reserved.'; echo '</p></div>'; } //* Widget for Adsense code after content add_theme_support( 'genesis-after-entry-widget-area' ); //* Widget for Adsense code after title and meta text genesis_register_sidebar( array( 'id' => 'after-title', 'name' => __( 'After Title', 'theme' ), 'description' => __( 'This is the after title widget area.', 'theme' ), ) ); add_action('genesis_entry_header', 'after_title_widget', 12 ); function after_title_widget() { if ( is_singular( 'post' ) ) genesis_widget_area( 'after-title', array( 'before' => '<div class="after-title widget-area">', 'after' => '</div>', ) ); } //* Display a custom favicon add_filter( 'genesis_pre_load_favicon', 'sp_favicon_filter' ); function sp_favicon_filter( $favicon_url ) { return 'https://webcazine.com/wp-content/uploads/2015/05/favicon.ico'; } //* Add new widget Between Posts Area genesis_register_sidebar( array( 'id' => 'between-posts-area', 'name' => __( 'Between Posts Area', 'basicwp-theme' ), 'description' => __( 'This widget show between and after few posts.', 'basicwp-theme' ), ) ); //* Add widget area between and after 3 posts add_action( 'genesis_after_entry', 'basicwptheme_between_posts_area' ); function basicwptheme_between_posts_area() { global $loop_counter; $loop_counter++; if( $loop_counter == 2 ) { if ( is_active_sidebar( 'between-posts-area' ) ) { echo '<div class="between-posts-area widget-area"><div class="wrap">'; dynamic_sidebar( 'between-posts-area' ); echo '</div></div><!-- end .top -->'; } $loop_counter = 10; } }
Does anyone know what could be the problem? The support from Siteground said it's a theme issue because changing the theme solves the problem. I know genesis is a great theme and I don't want to give up on it without trying to fix it myself (Although, I'm not tech savvy person).
[Resolved]Topic: Altitude Pro Menu Icons Missing – So lost
Hello to everyone. A nice lady named Susan from Studiopress told me that I should post my question here as everyone is so nice.
I have a website built with the Altitude Pro theme and Genesis framework.
Here is my issue:
When I view my website on mobile, my menu or hamburger disappears. In chrome I see a blank box where the menu would have been and on IE I see nothing.
So I assume I have some sort of icon issue.
I was give a code to try, but it fails to update as it says there is an error.
So here is my original code:
//* Enqueue scripts and styles
add_action( 'wp_enqueue_scripts', 'altitude_enqueue_scripts_styles' );
function altitude_enqueue_scripts_styles() {wp_enqueue_script( 'altitude-global', get_bloginfo( 'stylesheet_directory' ) . '/js/global.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_style( 'dashicons' );
wp_enqueue_style( 'altitude-google-fonts', '//fonts.googleapis.com/css?family=Ek+Mukta:200,800', array(), CHILD_THEME_VERSION );}
Studiopress gave me this code to try:
// Enqueue scripts and styles.
add_action( 'wp_enqueue_scripts', 'altitude_enqueue_scripts_styles' );
function altitude_enqueue_scripts_styles() {wp_enqueue_script( 'altitude-global', get_stylesheet_directory_uri() . '/js/global.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_style( 'dashicons' );
wp_enqueue_style( 'altitude-google-fonts', '//fonts.googleapis.com/css?family=Ek+Mukta:200,800', array(), CHILD_THEME_VERSION );$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
wp_enqueue_script( 'altitude-responsive-menu', get_stylesheet_directory_uri() . '/js/responsive-menus' . $suffix . '.js', array( 'jquery' ), CHILD_THEME_VERSION, true );
wp_localize_script(
'altitude-responsive-menu',
'genesis_responsive_menu',
altitude_responsive_menu_settings()
);}
But when I go to add it I get this error:
Your PHP code changes were rolled back due to an error on line 36 of file wp-content/themes/altitude-pro/functions.php. Please fix and try saving again.
Uncaught Error: Call to undefined function altitude_responsive_menu_settings() in wp-content/themes/altitude-pro/functions.php:36
Stack trace:
#0 wp-includes/class-wp-hook.php(286): altitude_enqueue_scripts_styles('')
#1 wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 wp-includes/script-loader.php(1447): do_action('wp_enqueue_scri...')
#4 wp-includes/class-wp-hook.php(286): wp_enqueue_scripts('')
#5 wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#6 wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#7 wp-includes/general-template.php(2614): do_action('wp_head')
#8 wp-content/themes/altitude-pro/header.php(18): wp_head()
#9 /home/davI have removed every plugin to see if there is a conflict, and nothing works.
I'm just so lost. Any help is appreciated. I just want the mobile menu icons to show back up.
[Resolved]Topic: Outreach Pro Header Right not Responsive
I can't figure out what I've done to make the header right not be responsive. The tagline and the nav menu are both left aligned (and only part of the menu is showing).
Hello team. Running Outreach pro here: https://www.makeuptalk.com
RE: Losing a spot when scaling down to a mobile device.
Running Genesis Simple Hooks to insert advertisements here https://www.screencast.com/t/dsg5uEtHjF
Currently when I insert my ad code, under Genesis Simple Edits *after header* and I view it on a mobile device, the ads (that are responsive) don't show up. Nothing shows up. I even did a test with just some letters like "XXXX" and it's just like that space goes away when I scale it down to a mobile device as a phone.
Is it common to have places like that disappear on mobile when scaling down a responsive theme?
If so, how can I override it to display something like an ad here: https://www.screencast.com/t/RIfxFyOK5yYL
Thanks very much!
I have Daily Dish Pro and my designer made the header full width. It's not resizing on mobile, though. Is there custom CSS I can add to make it happen since I am not sure how soon it can be fixed? Thanks.
Topic: Responsive header issue
Hi everyone,
I'm having an issue withe the SmartPassiveIncome Pro theme as follows:
here is the website link: omarwhite.com
if you open the site in any browser with the default browser zoom ( Which is 100%) it will not show properly as the logo will show above the header right widget.BUT if you zoom out to 90% it will show correct and this is the case with ALL browsers so ,I guess its a design issue.
What I want :
I want the site to show correctly at the 100% zoom level when tested with all browsersCan you help?
Thanks in advance.
Welcome!
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.