Forum Replies Created
-
AuthorPosts
-
andytc
ParticipantYou've got multiple errors reported -
Unsafe attempt to load URL https://www.edconstable.com/wp-content/plugins/simple-social-icons/symbol-defs.svg from frame with URL https://search.edconstable.com/idx/search/basic. Domains, protocols and ports must match.
looks like they are blocked from loading
andytc
Participantinstall the classic editor plugin , you can then choose between classic and Gutenberg
andytc
ParticipantTry -
.nav-primary {
background: #e3fcbd;
}andytc
ParticipantHave you checked it with a an actual mobile device ? from my i-Phone it pushes the content down as expected , but with DEV tools in chrome it does not.
andytc
ParticipantIt's in a media query shown below
@media (min-width: 896px) { .single .content, .contact-page .content { width: 768px; } }
You can overrule that by adding this in the customiser > CSS
.single .content, .contact-page .content { width: 100%; }
Also notice your site title area is not wide enough and dropping the last letter down (Z) - change that by adding this -
.title-area { width: 16rem; }
andytc
ParticipantBest way is what Brad said , but if you can't manage that the css would be something like
.full-width-content.featured-image .site-inner { margin-top: 100px; } .entry-avatar .avatar { display: none; } .single-post .entry-background { display: none; }
August 27, 2020 at 4:06 pm in reply to: Show line of text between blog title and image on primary blog page #500795andytc
ParticipantOk , that's great , all back to normal , as a tip , it's always best to deactivate cache plugins and minify stuff if you're developing a site , they'll have you running in circles for hours and hours thinking things aren't working when they are ... always clear your browser cache after CSS changes , it's best to use DEV tools in whatever browser you're using when working on a site , it can tell you a lot.
Anyway , back to the main event , sure , you can use Yoast if that's your preference , but the original code I gave you won't work for that , you'll have to use the new code below which is for Yoast Meta descriptions. I've changed the H tag to a p and given it a class so it'll be easier for you style it how you want , don't think you'll want a massive h3 🙂
I've tested this with Atmosphere and Yoast and it's all good , the code MUST only go in the functions.php file of the child theme , nowhere else , add it at the very end. If your not familiar or comfortable adding code to functions , you'll need to find someone to add it for you, getting it wrong can bring your whole site down temporarily , so be sure you know what you're doing. That said , here's the code -
// // Display YOAST SEO Meta Description after entry titles - posts page - archives - single posts . add_action( 'genesis_entry_header', 'pl_yoast_meta_description' ); function pl_yoast_meta_description () { if ( is_home () || is_archive() || is_single( ) ) { $meta = get_post_meta( get_the_ID(), '_yoast_wpseo_metadesc', true ); if ($meta) { echo '<p class="custom-meta">' . $meta . '<p>'; } } }
and to style it use this in the customiser > additional css section , add your styles as needed -
p.custom-meta { /*add your syles here*/ }
August 27, 2020 at 2:25 pm in reply to: Show line of text between blog title and image on primary blog page #500793andytc
ParticipantYou should delete it for sure , it has no business being there , the code for the 'read more' belongs in the childthemes functions.php , the shortcode you can see can also be deleted for now. you can get back to that later.
Once you've deleted it all , update the page , if you don't see any change on the front end , try clearing your browser cache and deactivate any cache plugin you might have active. we'll go from there , can't check anything else until that code is gone. the page editor won't accept php code.August 27, 2020 at 2:11 am in reply to: Show line of text between blog title and image on primary blog page #500783andytc
ParticipantAt the moment your blog page is broken , i can see code appearing in your description meta - see below
<meta property="og:description" content="[ic_add_posts template='template-in-theme-dir.php'] <?php //* Do NOT include the opening php tag //* Modify the Genesis content limit read more link add_filter( ‘get_the_content_more_link’, ‘sp_read_more_link’ ); function sp_read_more_link() { return ‘… <a class=”more-link” href=”‘ . get_permalink() . ‘”>[Continue Reading]</a>’; }">
It looks like you've added read more link changes from studiopress , but you missed the bit that said
"<?php //* Do NOT include the opening php tag"
Where did you add that ?
Also , a shortcode is appearing -[ic_add_posts template='template-in-theme-dir.php']
where did you add that and how ?
If you fix those errors first , see if it shows up , remember that this is for the genesis meta description , not one created by any other SEO plugins.
andytc
ParticipantThe demo is using negative margins on the image -
img.pull-left { float: left; margin: 0 40px 40px -200px; }
August 26, 2020 at 6:10 am in reply to: Show line of text between blog title and image on primary blog page #500770andytc
ParticipantAdd this to the end of your childthemes functions.php - The description (if it has one) will show on blog home page , single posts and cat archives in a h3 , change that to whatever you need. Adjust conditional to suit
// Add Genesis SEO Meta Description after entry titles - posts page - archives - single posts . add_action( 'genesis_entry_header', 'pl_custom_meta_description' ); function pl_custom_meta_description () { if ( is_home () || is_archive() || is_single( ) ) { $custom_meta = genesis_get_custom_field( '_genesis_description' ) ; if ( genesis_get_custom_field( '_genesis_description' ) ) { echo '<h3>' .$custom_meta. '</h3>'; } } }
andytc
Participanttry adding this to custom css -
.archive-pagination li a:focus, .archive-pagination li a:hover, .archive-pagination li.active a { background-color: #655d56; }
andytc
ParticipantChange the color to what you need -
.outreach-pro-blue, .outreach-pro-blue .footer-widgets, .outreach-pro-blue .site-footer { background-color: #222e37; }
andytc
ParticipantYes , it will , you just need to be more specific with the code and decide where you want it.
This will change it on all archives and single posts but not the front page
.archive img.entry-image ,.single img.entry-image { max-width: 1000px; }
you can also separate them off as you wish to get what you want
andytc
ParticipantExample -
Default is -
img.entry-image { max-width: 500px; }
Add to customiser additional css - change the pixel width to what you want
img.entry-image { max-width: 1000px; }
andytc
ParticipantIf you examine the css you can see it’s being limited in width to 500px , you could adjust that to suit your needs in the customiser css section.
andytc
ParticipantBut where is the img for 1000x700 meant to appear in the theme from the original start?
It's used for the front page image in the customiser
front-page-featured: 1000 - 700 (cropped to fit)
August 16, 2020 at 7:09 am in reply to: Author Pro Theme – How do I centre one footer widget? #500596andytc
ParticipantYour link is a holding page ‘coming soon’
andytc
ParticipantExcellent, glad it’s all working
andytc
ParticipantI can see one error being thrown on line 25 shown below -
php: error - error - unexpected ')' in Standard input code $galleries = get_terms('galleries', $term_args,);
Remove the comma after the $term_args as below -
$galleries = get_terms('galleries', $term_args);
Don't know if that will be the final solution , but try it anyway
-
AuthorPosts