5. Why Genesis?
• Genesis is Search • Genesis Lets You
Engine Optimized Update Your Site
• Genesis Offers Great- Instantly
Looking Turn-key • Genesis Makes
Designs Customizing Your Site
• Genesis Gives You Incredibly Easy
Unlimited Everything • Genesis has Custom
• Genesis Gives You Widgets and Layout
State-of-the-Art Options
Security
9. Challenges With This Design
• Header and Footer Menus
• Graphite outlines around boxes
• Asymmetric drop shadows behind boxes
• Tabbed slider with rotating images
• Exact spacing
11. What Came from Where
• Top and Bottom menus from News Theme
• Main menu from Mocha Theme
• Tabbed slider from Venture Theme
• Four-widget home page layout from Executive
Theme
• Large widgeted footer from Platinum Theme
34. Test CSS for Widgets
/* JUST SOMETHING TO HOLD THE BOX TOGETHER IN A FLOATING AREA */
.box-area {
float: left;
margin: 0 15px 0 0;
}
/* THE ACTUAL BOX, HEAD ON TOP, BOX WITH BACKGROUND, AND A BOTTOM */
.box-header-blue {
background: #FFFFFF url(box-head-blue.png) no-repeat;
width: 235px;
height: 45px;
color: #FFFFFF;
}
.box {
background: #FFFFFF url(box-back.png) no-repeat;
background-position: bottom right;
width: 235px;
}
.box-bottom {
background: #FFFFFF url(box-bottom.png) no-repeat;
width: 235px;
}
35. Test HTML for Widgets
<div class="box-area">
<div class="box-header-blue"><div
class="head-text">BOX HEADER TEXT</div></div>
<div class="box">
<div class="content">
The box and its
contents.<br><br>
And another line of text.<br>
And some more.<br>
Just to fill things up a
bit.<br><br>
And something to end with.
</div>
</div>
<div class="box-bottom"> </div>
</div>
37. Original Genesis Widget Code
<div id="home-bottom-bg">
<div id="home-bottom">
<div class="home-bottom-1">
<?php if (!dynamic_sidebar('Home Bottom #1')) : ?>
<div class="widget">
<h4><?php _e("Home Bottom #1 Widget", 'genesis'); ?></h4>
<p><?php _e("This is a widgeted area which is called Home
Bottom #1. It is using the Genesis - Featured Post widget
to display what you see on the Executive child theme demo
site. To get started, log into your WordPress dashboard,
and then go to the Appearance > Widgets screen. There you
can drag the Genesis - Featured Post widget into the Home
Bottom #1 widget area on the right hand side. To get the
image to display, simply upload an image through the media
uploader on the edit post screen and publish your post.
The Featured Post widget will know to display the post
image as long as you select that option in the widget
interface.", 'genesis'); ?></p>
</div>
<?php endif; ?>
</div><!-- end .home-bottom-1 -->
38. Translating CSS Test to Genesis
This looked great at first. Who can see the problem with this
solution?
39. So Where Can We Put the CSS?
In the functions.php file