Forum Replies Created
-
AuthorPosts
-
webcami
ParticipantGot a good google search result after posting this.
http://dreamwhisperdesigns.com/genesis-tutorials/change-genesis-header-home-link/
It worked for me - noting for anyone looking for a solution to this issue.
webcami
ParticipantDo I remove the FULL FILE?
webcami
ParticipantActually, I removed the code below and it took down the site. I will have to read through it more thoroughly.
function cafe_customizer_get_default_accent_color() {
return '#a0ac48';
}webcami
ParticipantThe control setting can stay there, I just don't want this color choice to override the settings in my style.css. I don't want there to be a color choice outside of the those I've coded. I can't seem to remove it even with inline css.
Any help is appreciated.
webcami
ParticipantOnce again a huge THANK YOU!
http://westseattlewordpress.com/skylar/You can see this worked in getting it to line up (made a few minor tweaks)
However, I'm not at loss as to how to get the media queries for mobile adjustments. Any ideas?
webcami
ParticipantMarcy, thanks... that made 1/2 the change. Any ideas on how to get it to now line up correctly?
http://westseattlewordpress.com/skylar/
Thanks again!
webcami
ParticipantTHANK YOU SO MUCH!
webcami
ParticipantOkay - for anyone else trying to fix this. Here's what I did - I removed the following code from the functions.php file:
//* Remove default post image
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );//* Add featured image above the entry content
add_action( 'genesis_entry_content', 'generate_featured_photo', 8 );
function generate_featured_photo() {
if ( is_page() || ! genesis_get_option( 'content_archive_thumbnail' ) )
return;if ( $image = genesis_get_image( array( 'format' => 'url', 'size' => genesis_get_option( 'image_size' ) ) ) ) {
printf( '<div class="featured-image"></div>', $image, the_title_attribute( 'echo=0' ) );
}
}
And that made the featured image line up properly with the text.webcami
ParticipantThe closest reference to that I can find in the css is:
.entry-content .entry-image {
margin: 0 40px 40px -60px;
max-width: 700px;
}There is no featured-image size call in the style.css - can you send exactly what you found? I made the change below but it made no difference in the code at all.
.entry-content .entry-image {
margin: 0 40px 40px -60px;
max-width: 150px;
}I'm using Chrome inspect element to debug. Can you send the exact code you found with that call so I can change it? A search of style.css shows no reference to .featured-image - I also tried adding it:
.featured-image {
width: 150px;
}Any further assistance would be appreciated.
January 4, 2015 at 9:35 am in reply to: Changing the # of blog posts showing on Education Pro #136021webcami
ParticipantSolved part of this. Didn't realize the default under reading setting would auto set to 3. Changed it there. Marking as closed.
January 4, 2015 at 8:54 am in reply to: Changing the # of blog posts showing on Education Pro #136010webcami
Participant<?php
//* Education Theme Setting Defaults
add_filter( 'genesis_theme_settings_defaults', 'education_theme_defaults' );
function education_theme_defaults( $defaults ) {$defaults['blog_cat_num'] = 3;
$defaults['content_archive'] = 'excerpts';
$defaults['content_archive_limit'] = 0;
$defaults['content_archive_thumbnail'] = 0;
$defaults['image_alignment'] = 'alignleft';
$defaults['posts_nav'] = 'numeric';
$defaults['site_layout'] = 'content-sidebar';return $defaults;
}
//* Education Theme Setup
add_action( 'after_switch_theme', 'education_theme_setting_defaults' );
function education_theme_setting_defaults() {if( function_exists( 'genesis_update_settings' ) ) {
genesis_update_settings( array(
'blog_cat_num' => 3,
'content_archive' => 'excerpts',
'content_archive_limit' => 0,
'content_archive_thumbnail' => 0,
'image_alignment' => 'alignleft',
'posts_nav' => 'numeric',
'site_layout' => 'content-sidebar',
) );genesis_update_settings( array(
'location_horizontal' => 'right',
'location_vertical' => 'top',
'posts_num' => '3',
'slideshow_arrows' => 0,
'slideshow_excerpt_content_limit' => '170',
'slideshow_excerpt_content' => 'full',
'slideshow_excerpt_width' => '35',
'slideshow_height' => '800',
'slideshow_more_text' => __( 'Continue Reading', 'education' ),
'slideshow_pager' => 0,
'slideshow_title_show' => 1,
'slideshow_width' => '1600',
), GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD );} else {
_genesis_update_settings( array(
'blog_cat_num' => 3,
'content_archive' => 'excerpts',
'content_archive_limit' => 0,
'content_archive_thumbnail' => 0,
'image_alignment' => 'alignleft',
'posts_nav' => 'numeric',
'site_layout' => 'content-sidebar',
) );_genesis_update_settings( array(
'location_horizontal' => 'right',
'location_vertical' => 'top',
'posts_num' => '3',
'slideshow_arrows' => 0,
'slideshow_excerpt_content_limit' => '170',
'slideshow_excerpt_content' => 'full',
'slideshow_excerpt_width' => '35',
'slideshow_height' => '800',
'slideshow_more_text' => __( 'Continue Reading', 'education' ),
'slideshow_pager' => 0,
'slideshow_title_show' => 1,
'slideshow_width' => '1600',
), GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD );}
update_option( 'posts_per_page', 3 );
}
//* Set Genesis Responsive Slider defaults
add_filter( 'genesis_responsive_slider_settings_defaults', 'education_responsive_slider_defaults' );
function education_responsive_slider_defaults( $defaults ) {$args = array(
'location_horizontal' => 'right',
'location_vertical' => 'top',
'posts_num' => '3',
'slideshow_arrows' => 0,
'slideshow_excerpt_content_limit' => '170',
'slideshow_excerpt_content' => 'full',
'slideshow_excerpt_width' => '35',
'slideshow_height' => '800',
'slideshow_more_text' => __( 'Continue Reading', 'education' ),
'slideshow_pager' => 0,
'slideshow_title_show' => 1,
'slideshow_width' => '1600',
);$args = wp_parse_args( $args, $defaults );
return $args;
}I changed everything "3" here to a "10" without results.
Thanks for the info. It's only a mock up site location and blocked from search. It's just where I work on sites before moving them to client hosting.
December 22, 2014 at 11:47 pm in reply to: Cafe Pro header background image in iPad landscape -help #135111webcami
ParticipantFOR ANYONE ELSE WITH THIS ISSUE - the theme was updated on 12-18 and it looks like this code was added to the media queries:
@media only screen and (max-width: 1024px) {.front-page-header,
.front-page-2,
.front-page-4 {
background-attachment: scroll;
background-position: top;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
}}
I cut and pasted the entire NEW code section for the media queries and it fixed my issue. I didn't compare to the last version to the new version to see if the code above was the only change. MAKE SURE you check on your own!
THIS DID FIX THE ISSUE.
webcami
ParticipantThank for the suggestion. That misaligned the sidebar.
Still looking for an answer in anyone has suggestions.
November 20, 2014 at 9:06 am in reply to: Executive Pro – need help with custom post type post META removal #132278webcami
ParticipantI wanted to share the answer to this with anyone else that might need help. I got nothing from contacting support. Although, it did force me to find a result on my own.
This should work if you are trying to remove post info and meta from EVERYTHING but your regular POSTS. I wanted no info on my projects post type, but info on the blog posts.
Here's the link to where I found this solution:
http://www.engagewp.com/remove-custom-post-type-post-meta-genesis/Here's the snippet for the functions.php file:
//* Remove Post Info, Post Meta from CPT
add_action ( 'get_header', 'rv_cpt_remove_post_info_genesis' );
function rv_cpt_remove_post_info_genesis() {
if ( 'post' !== get_post_type() ) {
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
}
}November 19, 2014 at 3:56 pm in reply to: Executive Pro – need help with custom post type post META removal #132215webcami
ParticipantThat didn't do the trick. What is the last number in reference to? Not sure how to adjust it. I thought maybe it was for the category id of what I want to have meta show on, but that was unsuccessful.
Any additional suggestions?
September 14, 2014 at 2:13 pm in reply to: AgentPress Pro – Need help with navigation & widget widths CSS #124384webcami
ParticipantThat worked fantastic for the navigation! Any ideas about the widget portions I mentioned? THANKS!
webcami
ParticipantAGENTPRESS PRO responsive is here!
http://my.studiopress.com/themes/agentpress/May 23, 2014 at 12:04 pm in reply to: Outreach Pro – Home Bottom widget area – REDUCE TO ONE wide area! #106516webcami
ParticipantThank you for posting a response so quickly!
March 4, 2014 at 10:18 am in reply to: breadcrumb category links in Innov8te theme display strange #93387webcami
ParticipantI figured it out with a bit of googling and some editing:
http://www.eightcrazydesigns.net/forums/topic/categories/ Instructs to remove category.php and the css code related:
Found the above link and deleted the category.php file and also removed the category code from the css:
/* Category Posts
------------------------------------------------------------ */.category .content .post {
float: left;
margin: 0px 9px 10px;
overflow: hidden;
padding: 5px 0 15px;
width: 168px; /* 150px wide thumbnail + 9px + 9px margins */
}.category .content .post:hover {
opacity: 0.8;
filter: alpha(opacity=80);
}.category .content {
margin-top: -15px;
}.category .content h2.entry-title {
background: none;
}.category .content h2.entry-title a {
font-size: 12px;
text-align: center;
margin-top: -15px;
}.first-post {
clear: left;
}.category .taxonomy-description p {
margin: 20px 0 0 0;
font-family: Georgia, 'Times New Roman', serif;
color: #928942;
font-size: 20px;
line-height: 1.2;
}This didn't work completely - still a three column display for archives, so I removed the following from functions.php:
/**
* Disable post image on archives.
*
* @since 2.0.0
*/
function innovative_conditional_actions() {
if( is_page_template( 'page_blog.php' ) && 'full' == genesis_get_option( 'content_archive' ) )
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
}The result is this display: http://www.funding-quest.com/category/uncategorized/
Versus this display: http://demo.thepixelista.com/innovative/category/appetizer/webcami
ParticipantI did find an answer via support. Changing this line of code fixed my issue:
Change the primary sidebar width from 360px to 359px.
.sidebar-primary {
float: right;
width: 359px;
} -
AuthorPosts