Forum Replies Created
-
AuthorPosts
-
JamesParticipant
Hi there
A bit of a hack and not perfect, but should sort you out quickly.
Add the following css to the bottom of your style.css or whichever way you use for adding custom css.
.front-page-1 {
height: 68.60vw !important;
max-height: 100vh !important;
}This will help to maintain the aspect ratio of your main image.
JamesParticipantHi there
By default, if you have the latest posts set as the home page (not a static page) then you should get pagination with no problem.
But if you set a static page as the home page, then the home.php isn't applied, therefor your edits to the home.php won't work.
You'll need a complete custom loop with pagination. Here is an example of one to get started. You'll need to create a front-page.php and build the custom loop in there to look and function with your site.
JamesParticipantHi there
The reson for this is because with larger tablets on landscape mode the resolution is larger than 960px which you have set in your media query.
Try increasing the media query to about 1200px - 1280px until you have it right.
But just be aware that at 1280px is also small laptop size, so some experimenting would be needed here.
Hope this helps.
JamesParticipantHi Shobha22
This will help sort those borders a little on the last section.
#home-middle .featuredpost:last-child h4.widget-title.widgettitle { margin-bottom: 92px; } .home-middle .featuredpost:last-child .entry { min-height: 272px; }
JamesParticipantHi
Try using the Genesis Title Toggle plugin by Bill Erickson, pretty sure that will remove the hero text on a per page basis, but leave the hero image.
JamesParticipantHi
The quick way would be to hook in your html/text and hard code the content for it to show in the personal-trainer category.
This goes in your functions.php
add_action ( 'genesis_before_content_sidebar_wrap', 'mindpranabody_before_category_posts_text' ); /** * Add text before the posts on personal trainer category. * * @since 1.0.0 */ function mindpranabody_before_category_posts_text() { if ( is_category('personal-trainer') ) { ?> <div class="before-category-posts"> <p>Add your content</p> </div> <?php } }
The other way would be to modify the hero section code itself, but that's a lot trickier.
October 1, 2018 at 8:00 pm in reply to: How to change the style of list of post in blog page ? #223479JamesParticipantHi
This isn't really done with css, try looking at your Genesis settings in WordPress and adjust the image size to a larger image there, or even align in differently for a different look.
JamesParticipantHi Raven
the gift vouchers are just a separate category actually
I did use the WooCommerce PDF Product Vouchers from Woo for the actually voucher creation (that gets downloaded after purchase)
JamesParticipantHi Raven
here is a site I did with Genesis + Woo, should give you an idea of a custom site. http://thefacialroom.com.au/
I noticed some of the new themes now support Woocommerce too.
JamesParticipantHi Raffaele
in your WordPress dashboard open the customiser and see if you can remove the background image there.
JamesParticipantThanks slythic !
JamesParticipantadd
background-attachment: scroll;
in your media queries, that will fix it
I've updated the gist as well
JamesParticipantare you using the correct css?
.image-header {
min-height: 400px;
background-attachment: fixed;
background-color: #fff;
background-position: center center;
background-repeat: no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;}
JamesParticipanthey folks, sorry for the long absence
I've updated the body class function name in that code snippet, would of been the cause of a front page error (duplicate function name)
JamesParticipantHi there
You built the sites for him, he paid you and so now he has a right to do what he wants with them. Unless you have a contract that states otherwise, they are legally his property.
The Genesis license says it can be used on multiple websites, http://opensource.org/licenses/GPL-3.0
I don't see why he has to purchases multiply licenses
Same with the stock images, you purchased them, but he has paid you, so now they are his to do what he wishes.
I understand where your coming from, I'm a dev too and have dozens of clients, all running on Genesis + themes + Images, but i would not for one second hassle a client if they were to take the website I build for them and do something else with it. They paid me, they own the site, not me.
I think client should have the freedom to take their website that they paid for and do as they wish...I think that is very, very fair.
I would let this one go, unless you want the cops at your door for harassment,
Chin up 🙂
JamesParticipantHey Brian
you can add this to your functions.php to filter the post info, just remove the bits of shortcode you don't want such as by [post_author_posts_link] [post_comments] [post_edit]
//* Customize the post info function add_filter( 'genesis_post_info', 'sp_post_info_filter' ); function sp_post_info_filter($post_info) { if ( !is_page() ) { $post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]'; return $post_info; }}
this removes the post meta, goes in your functions.php too
//* Remove the post meta function remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
and something like this css here will remove the line in the entry header and bring the photo/excerpt up a bit.
.entry-header { border-bottom: medium none; margin: -40px -40px 0; padding: 40px; }
JamesParticipantsites looking great!
what is it you needed to do, remove the post meta on the front page?
let me know the specifics.
JamesParticipantHey you buddy
this should work
i just added the default loop back in and re-positioned the widgets. plus removed the force full width filter.
https://gist.github.com/jamiemitchell/915b3e62363b23008721
Just replace your front-page.php with that.
JamesParticipantHi Brian
did you want the home top widget showing as well, and then normal posts and sidebar under that
or just have all posts and a sidebar on the home page, and none of the home page widgets at all?
JamesParticipantHappy New Year Mike !
site look great !
couple of suggestions for you
make the testimonial text bigger, perhaps even have a face of the person as the background image, or atleast something relevant to the testimonial.
and use display: none in you css to not show the blue footer widget on the home page, as you already have a call to action above it, so one is enough.
.front-page .footer-widgets { display: none; }
-
AuthorPosts