Forum Replies Created
-
AuthorPosts
-
Hello,
You could add:
width: 960px; to your #header rule.
Hard Boiled Greg
Website: Hard Boiled Greg Twitter: @hbgreg
Hi,
You can add this code to your functions.php file:
/** Modify the Genesis content limit read more link */ add_filter( 'get_the_content_more_link', 'custom_read_more_link' ); function custom_read_more_link() { return '... <a class="more-link" href="' . get_permalink() . '"><img src="image-link-here"></a>'; }adding the location of your button image to the img src=
Also the link has a class of “more-link” so your could style it’s background with a CSS gradient for a button effect instead.
Hard Boiled Greg
Website: Hard Boiled Greg Twitter: @hbgreg
February 5, 2013 at 1:30 pm in reply to: How do I create a custom width page on the Minimum theme? #18282Hi,
You can add:
.page-template-***** #content { float: none; margin: 0 auto; width: 60%; }Where .page-template-***** is the body class of your custom page template.
Hard Boiled Greg
Website: Hard Boiled Greg Twitter: @hbgreg
Just a complete guess, but could the breadcrumbs be coming from WooCommerce?
Try adding:
remove_action( 'woocommerce_before_main_content',
'woocommerce_breadcrumb', 20, 0);to your functions.php file (untested!)
- Hard Boiled Greg
Website: Hard Boiled Greg Twitter: @hbgreg
–Extra Post– please delete
Website: Hard Boiled Greg Twitter: @hbgreg
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg.
OK, the Archive template is using the “wp_get_archives” function which apparently doesn’t have an offset, so we’ll have to “get_posts” instead.
We don’t want to edit the parent theme files so copy the “page_archive.php” file from your genesis folder and paste it into your child theme. Then replace this section in that file (lets try a pastie) :
<div class=”archive-page”>
<h4></h4>
<ul>
</ul><h4></h4>
<ul>
</ul></div><!– end .archive-page–>
<div class=”archive-page”>
<h4></h4>
<ul>
</ul><h4></h4>
<ul>
</ul><h4></h4>
<ul>
</ul></div><!– end .archive-page–>
With this:
<div class=”archive-page”>
<h4></h4>
<ul>
<!–?php global $post; $args = array( ‘numberposts’ => 25 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<li><a href=”“></a></li>
</ul></div><!– end .archive-page–>
<div class=”archive-page”>
<h4></h4>
<ul>
<!–?php global $post; $args = array( ‘numberposts’ => 25, ‘offset’=> 25 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) : setup_postdata($post); ?>
<li><a href=”“></a></li>
</ul>
</div><!– end .archive-page–>Let me know how it works out for you.
HBG
Website: Hard Boiled Greg Twitter: @hbgreg
-
This reply was modified 5 months ago by
Hard Boiled Greg. Reason: pastie didn't work
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg. Reason: Good grief we need a better way to paste code
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg. Reason: pastie didn't work
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg. Reason: Good grief we need a better way to paste code
-
This reply was modified 5 months ago by
Hard Boiled Greg.
Thanks for the link DigitalC! Wrapping a few presents right now; I’ll be back a bit later with some suggestions for you.
HBG
Website: Hard Boiled Greg Twitter: @hbgreg
Hi,
I know it has been a month, but if you are still having a problem with this I’d like to help.
Please let me know.
HBG
Website: Hard Boiled Greg Twitter: @hbgreg
December 22, 2012 at 4:55 pm in reply to: Setting up new blog and product site to help elderly #7051Hi,
Not sure what your question is. Are you looking for suggestions with respect to the best looking theme for your topic?
Outreach and Streamline themes that you mentioned are both really nice looking themes. All of the StudioPress themes are great looking themes out of the box and can be further tweaked to meet your individual needs. I suggest you choose a theme that most closely matches the layout you are interested in and then come back to this forum if you need help changing colors and font etc.
Take care,
HBG
Website: Hard Boiled Greg Twitter: @hbgreg
If you find this section in your stylesheet:
.sidebar-content #content, .content-sidebar #content {
width: 630px;
margin: 0;padding: 0;
}
You can adjust the margin (currently 0)
You will likely need to also adjust the width here:
#content {
float: left;
width: 480px !important;
margin: 0;
padding: 0;
}to accommodate your new margins.
HBG
Website: Hard Boiled Greg Twitter: @hbgreg
-
This reply was modified 5 months ago by
Hard Boiled Greg. Reason: formatting: which is still messed up
-
This reply was modified 5 months ago by
Hard Boiled Greg. Reason: formatting: which is still messed up
Do everything I said previously and add:
margin-top: **px;
to the
.header-image #header #title-area {
we added earlier. If you use Chrome Developer Tools (or Firebug for Firefox) you can view the CSS on my test site.
HBG
Website: Hard Boiled Greg Twitter: @hbgreg
Paste this into functions.php:
add_action( 'genesis_before', 'excerpt_post_meta_removal' ); function excerpt_post_meta_removal() { if( !is_single() ) { remove_action( 'genesis_after_post_content', 'genesis_post_meta' ); } }HBG
Website: Hard Boiled Greg Twitter: @hbgreg
OK, so you have two images. The grey “header” and the pink “logo”.
Add
background: url(images/header.png) right top no-repeat;
after #header {
(make sure to add the header.png to the images folder)
Add height: ***px;
to the:
.header-image #header #title-area {
background: url(images/logo.png) left top no-repeat;
}we added last time. (replace ***px with the height of your logo.
Change the height in:
.header-image #title-area,
.header-image #title,
.header-image #title a {to the height of your logo too.
add clear:both;
to #inner {
I think I covered everything. Let me know if something is wonky.
HBG
Website: Hard Boiled Greg Twitter: @hbgreg
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
Hard Boiled Greg.
-
This reply was modified 5 months ago by
-
AuthorPosts