Forum Replies Created
-
AuthorPosts
-
wadams92101
MemberThank you Anita for your response. Yes, you are right. I meant Magazine Pro. And, yes, I already use the accessibility plugin though it's far from a cure-all. As a litigator who has defended businesses sued for WCAG non-compliance (alleged as an ADA violation), I'm acutely concerned about this issue. How will "block-based" work differently than widget-based? In particular, I use the Genesis Featured Post widget (as well as others) that place certain content and with certain CSS attributes in the columns.
wadams92101
MemberAndrea: I swapped out responsive-menus.js and responsive-menus.min.js to effectively update to NEWS PRO 3.2.2, although it still ouputs that it is News Pro 3.2.1. Is that output coming from the functions.php file? I'd like to change it to something 3.2.1-mod
wadams92101
MemberThanks Andrea.
wadams92101
MemberI think it might have wiped out my CSS modifications because of something related to do with the fact that I'm not placing the snippet directly into the functions.php file. I'm using the My Custom Functions plugin or Genesis Simple Hooks for the php snippets and the Simple Custom CSS plugin for the CSS modifications. I use these plugins so that my modifications aren't wiped out in minor version updates of the child theme (the irony of child theme updates). Also, it never did show the logo. The code I used was
<?php add_action( 'genesis_header', 'cd_site_image', 5 ); function cd_site_image() { $header_image = get_header_image() ? '<img alt="logo" src="http://mydomain.com/wp-content/themes/news-pro/images/Logo.png" . get_header_image() . '" />' : get_avatar( get_option( 'admin_email' ), 224 ); printf( '<div class="site-image">%s</div>', $header_image ); } ?>
wadams92101
MemberI have taken another look at it, and I am encouraged by the way it works responsively. However, when I tried it, it seemed to wipe out my style.css customizations.
October 1, 2016 at 10:01 am in reply to: Need your opinion on how/where to add credibility elements #194070wadams92101
MemberI prefer to use Simple Hooks or a custom php plugin because it makes the modifications more resilient child theme small version upgrades. For example, as soon as I started modifying News Pro 3.0, version 3.02 came out. But from what I can see, Simple Hooks doesn't contain the hook needed for this? I just found a plugin called Custom Functions, so I could try that but would prefer to use Simple Hooks first if possible.
wadams92101
MemberHi, I'm also interested in this solution. I accomplished it via CSS but it behaves somewhat poorly in responsive mode for a mobile screen. This puts the logo to the left of the tilte. The description remains independent of the logo - in mine it lines up underneath the logo. (added via Simple Custom CSS so it omits the other code in that selector)
.title-area { padding-left: 4rem; background: url("//mydomain.com/wp-content/themes/news-pro/images/Logo.png") left top no-repeat; }
But, I'm thinking that I probably should have done this via php so that it would behave better in responsive mode?
September 29, 2016 at 2:05 pm in reply to: Need your opinion on how/where to add credibility elements #193914wadams92101
MemberHi Brad. Thanks for the link. Can the snippet in the tutorial be added to the Genesis Simple Hooks plugin field rather than directly into the functions.php file? I would think it could but then again, why would the author of a genesis tutorial not mention it if that was the case? Also, which hook, if any, could be used to put a logo to the left of the header title?
September 29, 2016 at 2:02 pm in reply to: Header widget cutting off the header image. Need help. Metro pro. #193913wadams92101
MemberThis reply has been marked as private.wadams92101
MemberThanks Victor! Super cool. I notice the code sample in the article sets the width at 30%. Any thoughts on a widget for a square logo about thumbnail size (e.g., 110 x 110)?
wadams92101
MemberI want to do something similar but instead of a white background in the header I want to have full width header image. would I simply the white background below with the URL image?
#header {
background: url(http://mydomain.com/header-background.jpg) no-repeat scroll 0 0 transparent;
border: none;
width: 100%;
}Would this work in News Pro 3.0?
-
AuthorPosts