Forum Replies Created
-
AuthorPosts
-
weborganizing
MemberThank you Genesis Developer!
Now it´s 2 am and everything works fine - I looked for this solution for hours, too. 🙂
This code works and it is so easy... It should be displayed to the official codesnippets, i think.Have a good time, everybody!
Björn
March 16, 2016 at 10:53 am in reply to: Executive Theme: Two Container – List Element Problem with IE 11 #181560weborganizing
MemberHello Victor,
thank you very much for your advice! Now it works and it looks good so far. I chosed the option with "colum classes". This is my code:
<div class="entry-content"> <div class="wp-caption alignleft" style="padding: 20px 20px 5px 20px;"> <div class="one-half first" style="width: 220px;"><img class="aligncenter wp-image-112 size-full" src="http://www.mysite.de/wp-content/uploads/Mirsterxxxxx.jpg" alt="Miste XXXXXX" width="200" height="200" />Hard Working Man</div> </div> <div class="one-half" style="width: 55%;"> <h3>Mister XXXXXXXX</h3> <ul> <li>Element 1</li> <li>Element 1</li> <li>Element 1</li> <li>Element 1</li> </ul> </div> </div>
The fixed width is not the best way, but it works. Thank you again.
weborganizing
MemberHello Community,
i tried the wordpress function: "Stick this post to the front page" and it works. This is what i wanted to reach and after activating this option on my 3 favorite posts - the posts stick on the front page. But keep in mind for your design: After you makup your favorite posts the fourth, fifth and sixth post don´t move to the "Next Page" at "Front Page Content Section", they will placed below your 3 favorites.
I hope it will help someone. Best Regards!
February 12, 2016 at 1:22 pm in reply to: Altitude Pro – Accent Color and Footer Navigation Color #178910weborganizing
MemberHello Chrisitoph,
thank you very much! You helped me out.
This works perfect and now i understand the red "!important" tags a little bit more. Great Work!
I´ll ask google about the "inline styles" to learn more.
Thank you again!
December 16, 2012 at 8:59 am in reply to: Enterprise Theme – How do i create a new widget area below home-middle 1,2,3? #5535weborganizing
MemberThis is my home.php file:
<!--?php /**
* This file handles the output on the homepage.
*/add_action( 'genesis_after_header', 'enterprise_home_top_helper' );
/**
* Conditionally add Home Top #1 (home-top-1) sidebar and WP-Cycle.
*/
function enterprise_home_top_helper() {echo '';
if ( is_active_sidebar( 'home-top-1' ) ) {
echo '';
dynamic_sidebar( 'home-top-1' );
echo '';
}echo '';
if ( function_exists( 'wp_cycle' ) )
wp_cycle();
echo '';
echo '';}
add_action( 'genesis_meta', 'enterprise_home_genesis_meta' );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function enterprise_home_genesis_meta() {if ( is_active_sidebar( 'home-middle-1' ) || is_active_sidebar( 'home-middle-2' ) || is_active_sidebar( 'home-middle-3' ) ) {
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'enterprise_home_loop_helper' );
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );}
}
function enterprise_home_loop_helper() {
echo '';
if ( is_active_sidebar( 'home-middle-1' ) ) {
echo '';
dynamic_sidebar( 'home-middle-1' );
echo '';
}if ( is_active_sidebar( 'home-middle-2' ) ) {
echo '';
dynamic_sidebar( 'home-middle-2' );
echo '';
}if ( is_active_sidebar( 'home-middle-3' ) ) {
echo '';
dynamic_sidebar( 'home-middle-3' );
echo '';
}echo '';
}add_action( 'genesis_after_content_sidebar_wrap', 'child_after_content_ad_sidebar' );
/** Loads a new sidebar after the content */
function child_after_content_ad_sidebar() {echo '';
dynamic_sidebar( 'home-booking-1' );
echo '';}
genesis();
-
AuthorPosts