Forum Replies Created
-
AuthorPosts
-
jlknauff
MemberHi Victor,
I had tried that, but no dice...your article was where I started. I ended up modifying the CSS to disable the drop downs.
May 9, 2017 at 9:42 am in reply to: How to make content in front-page-1 visible w/o scrolling? #206182jlknauff
MemberRight, but I don't want to remove it. I just want the content to display in front-page-1 without scrolling. I have it working that way on another site, but I can't identify what i did differently.
jlknauff
MemberSolved it. Had to add position: relative to the containing div.
jlknauff
MemberI didn't say to make it 0px. I said to delete that line entirely.
jlknauff
MemberWhat's your URL?
jlknauff
MemberIn fact, just delete:
width: 960px;
and you should be fine.
jlknauff
Member.site-header .widget-area is too wide. Shrink it down and it will move right up.
jlknauff
MemberWhen I use
if ( is_page( 'antitrust-trade-regulation' ) ) { echo '<div class="practice-area-people">'; $custom_field = genesis_get_custom_field('antitrust-trade-regulation-people'); echo do_shortcode( $custom_field ); echo '</div>'; }
it returns nothing. 🙁
I've also tried:
echo do_shortcode( get_post_meta( 223, $key = 'antitrust-trade-regulation-people', $single = true ) );
which also returns no results.
jlknauff
MemberHere's the odd thing...
I'm using a shortcode that I know works for testing. (CF7)
This simply prints the shortcode on the screen:
$custom_field = genesis_custom_field('antitrust-trade-regulation-people'); echo do_shortcode( $custom_field );
However, this outputs the results:
$custom_field = genesis_custom_field('antitrust-trade-regulation-people'); echo do_shortcode( '[contact-form-7 id="1667" title="Contact form 1"]' );
Does that make any sense?
jlknauff
MemberHey Victor, that's one of the things I've been trying, but no dice.
jlknauff
MemberBrad, nope...I've tried using do_shortcode as well with no luck. Even modified to use your example with no success.
function practice_area_people() { if ( is_page( 'antitrust-trade-regulation' ) ) { echo '<div class="practice-area-people">'; $custom_field = genesis_custom_field('antitrust-trade-regulation-people'); if ( $custom_field ) { echo do_shortcode( $custom_field ); } echo '</div>'; } } add_action( 'genesis_before_content', 'practice_area_people' );
jlknauff
MemberHey Victor.
It was started using Showcase as a foundation.
Here is what I'm talking about. I'm trying to put it right after the post title, where you see the red X.
jlknauff
MemberNo, I was incorrect...that doesn't appear to be the issue.
jlknauff
MemberI think I just found what's going on...the theme has the default actions removed and re-added in different orders.
jlknauff
MemberThat's still sticking it right above the content, not the page header. (http://bit.ly/2k5dKZj)
jlknauff
MemberWell, I came up with a solution. I simply set the max-height using the viewport width.
jlknauff
MemberHmmm...I tried that but it's not doing anything different.
jlknauff
MemberShoot...I fixed that yesterday but forgot to update my post here. 😉
I do have another problem though...I can't seem to get the div that wraps the video to stop at the bottom of the screen. Any idea how to accomplish that?
jlknauff
MemberDelete
.genesis-nav-menu li.right { display: none; }
But it's going to mess up your layout.
jlknauff
MemberTry a plugin called Genesis Simple Hooks. You won't need to mess with any coding.
-
AuthorPosts