Forum Replies Created
-
AuthorPosts
-
andytcParticipant
I think this is Market Pro
andytcParticipantJust the z-index needed an adjustment to be in front of everything else -
`
.site-header { background-color: #000; left: 0; min-height: 65px; top: 0; position: fixed; width: 100%; z-index: 99999; }
'
October 22, 2018 at 5:18 am in reply to: Adding Analytics Code Snippet – Conflicting Question #223909andytcParticipantOctober 22, 2018 at 5:12 am in reply to: Adding Analytics Code Snippet – Conflicting Question #223908andytcParticipantCurrently, I have it in the Genesis theme settings AND on pages and posts... is that duplicity a problem?
Don't know if it is , probably not , but you DO have it appearing twice in the head , so do as Victor suggests and just enter it in the genesis theme settings only.
andytcParticipantYou can try this added to functions.php -
add_filter( 'genesis_attr_archive-title', 'non_tech_modify_archive_title_class' ); function non_tech_modify_archive_title_class( $attributes ) { $attributes['class'] = 'entry-title main_title'; return $attributes; }
October 21, 2018 at 4:46 am in reply to: Infinity Pro – Exclude "Team Member" Page from Displaying Full Width Image #223890andytcParticipantI can tell you the reason it's appearing above the content - in the code , it's this bit -
// Hook after header area add_action( 'genesis_after_header', 'bw_hero_image' );
You could try shifting it around by changing the hook. One example below -
// Hook after header area add_action( 'genesis_before_entry', 'bw_hero_image' );
You can view page hooks here visually -
https://genesistutorials.com/visual-hook-guide/sample/
also to note , that code is adding the image as a 'Background' not an inline image.
andytcParticipantTry adding !important to the color , it looks like your style additions are being overridden by the main stylesheet
div.gs-faq .gs-faq__question:hover, div.gs-faq .gs-faq__question:focus { color: #ffffff!important; }
andytcParticipantYou need to think about what updates have occurred in the last few weeks , plus have a quick look in screen options to make sure nothings changed there , best of all would be to contact the plugin authors and ask them , I doubt anyone here can help with a plugin like that unless they happen to use it themselves.
andytcParticipantIt's the <p> tags breaking it up on every closing </p>
Just try wrapping it in a div instead - you might need to add some margin-bottom depending on placement.
Example - just add the colour you want , blue , orange etc
<div class="message green"> <p>This is an example of custom message, which is easy to implement and can be used to put emphasis on a particular thought.</p> <p>This is an example of custom message, which is easy to implement and can be used to put emphasis on a particular thought.</p> <p>This is an example of custom message, which is easy to implement and can be used to put emphasis on a particular thought.</p> <a class="button" href="#">Click here for more</a> </div>
optional css
div.message { margin-bottom: 30px; }
andytcParticipantTry adding some text to the text widget that's already in place at -
Appearance > Widgets >
andytcParticipantThere's no scrolling happening for me , also note duplicate navs -
<nav class="nav-secondary" aria-label="Secondary" itemscope="" itemtype="https://schema.org/SiteNavigationElement">/nav> <nav class="nav-primary" aria-label="Main" itemscope="" itemtype="https://schema.org/SiteNavigationElement"></nav>
October 17, 2018 at 3:19 am in reply to: Want to add more Front Page Widget areas To Author Pro #223800andytcParticipantIt's a 15 minute job , you'll need to access only 2 files in the author-pro theme DIR (not genesis dir)
www.yoursite-name/wp-content/themes/author-pro/
functions.php
front-page.phpThe line numbers assume that you haven't made any edits to these files previously, if you have just look for the code sections.
Open up functions.php
Find line 234 of function.php and right after that line add the code below on a new line (it's at the very end , there's nothing after it)
genesis_register_sidebar( array( 'id' => 'front-page-6', 'name' => __( 'Front Page 6', 'author-pro' ), 'description' => __( 'This is the front page 6 section.', 'author-pro' ), ) ); genesis_register_sidebar( array( 'id' => 'front-page-7', 'name' => __( 'Front Page 7', 'author-pro' ), 'description' => __( 'This is the front page 7 section.', 'author-pro' ), ) );
Open up front-page.php
Find line 21 of front-page.php and replace all of that code with the new code below - were just adding 2 new conditionals for 'is_active_sidebar' for our new widget areas. You can take a look and compare the 2 bits of code to see the very simple additions.
if ( is_active_sidebar( 'front-page-1' ) || is_active_sidebar( 'front-page-2' ) || is_active_sidebar( 'front-page-3' ) || is_active_sidebar( 'front-page-4' ) || is_active_sidebar( 'front-page-5' ) || is_active_sidebar( 'front-page-6' ) || is_active_sidebar( 'front-page-7' ) ) {
Find line 66 of front-page.php and add the code below right after the last genesis_widget_area (number 5), take care not to remove the closing curly brace } at line 86 or the "// Run the Genesis loop .genesis();".
genesis_widget_area( 'front-page-6', array( 'before' => '<div id="front-page-6" class="front-page-6"><div class="flexible-widgets widget-area' . author_widget_area_class( 'front-page-6' ) . '">', 'after' => '</div></div>', ) ); genesis_widget_area( 'front-page-7', array( 'before' => '<div id="front-page-7" class="front-page-7"><div class="flexible-widgets widget-area' . author_widget_area_class( 'front-page-7' ) . '">', 'after' => '</div></div>', ) );
That's it , save both files and go to widgets , you'll now see your 2 new flexible widget area's. Add your content and do your own own styling if required.
October 17, 2018 at 3:14 am in reply to: Want to add more Front Page Widget areas To Author Pro #223799andytcParticipantIt's a 15 minute job , you'll need to access only 2 files in the author-pro theme DIR (not genesis dir)
www.yoursite-name/wp-content/themes/author-pro/
functions.php
front-page.phpThe line numbers assume that you haven't made any edits to these files previously, if you have just look for the code sections.
Open up functions.php
Find line 234 of function.php and right after that line add the code below on a new line (it's at the very end , there's nothing after it)
genesis_register_sidebar( array( 'id' => 'front-page-6', 'name' => __( 'Front Page 6', 'author-pro' ), 'description' => __( 'This is the front page 6 section.', 'author-pro' ), ) ); genesis_register_sidebar( array( 'id' => 'front-page-7', 'name' => __( 'Front Page 7', 'author-pro' ), 'description' => __( 'This is the front page 7 section.', 'author-pro' ), ) );
Open up front-page.php
Find line 21 of front-page.php and replace all of that code with the new code below - were just adding 2 new conditionals for 'is_active_sidebar' for our new widget areas. You can take a look and compare the 2 bits of code to see the very simple additions.
if ( is_active_sidebar( 'front-page-1' ) || is_active_sidebar( 'front-page-2' ) || is_active_sidebar( 'front-page-3' ) || is_active_sidebar( 'front-page-4' ) || is_active_sidebar( 'front-page-5' ) || is_active_sidebar( 'front-page-6' ) || is_active_sidebar( 'front-page-7' ) ) {
Find line 66 of front-page.php and add the code below right after the last genesis_widget_area (number 5) on a new line, take care NOT to remove the closing curly brace } at line 86 or the "// Run the Genesis loop .genesis();".
genesis_widget_area( 'front-page-6', array( 'before' => '<div id="front-page-6" class="front-page-6"><div class="flexible-widgets widget-area' . author_widget_area_class( 'front-page-6' ) . '">', 'after' => '</div></div>', ) ); genesis_widget_area( 'front-page-7', array( 'before' => '<div id="front-page-7" class="front-page-7"><div class="flexible-widgets widget-area' . author_widget_area_class( 'front-page-7' ) . '">', 'after' => '</div></div>', ) );
That's it , save both files and go to widgets , you'll now see your 2 new flexible widget area's. Add your content and do your own own styling if required.
-
AuthorPosts