Forum Replies Created
-
AuthorPosts
-
lindebjerg
MemberHi Susan, I could not believe is was only such a simple setting:-)
How come it was turned off? it´s never happened on a update before...
but it´s not really important now when I know how to turn them back on again; thank you Susan.lindebjerg
MemberHi Brad,
perfect I got it now. I used this code.single-portfolio .content .entry-header .entry-meta { display: none; }
and now it rocks;)
Thanks,
JesperApril 14, 2014 at 12:24 am in reply to: Translate "Sorry, no content matched your criteria." #100133lindebjerg
Memberresolved;)
lindebjerg
MemberThanks Brad, I will give it a try by David;)
lindebjerg
MemberYou are so right! But I don't need to be flexible, I just need a working portfolio, when it is setup I will not change it at all.
But I am not good in code, so I try to use a good written tutorial. I was hoping to get some help here with the 2 problems?
lindebjerg
MemberWhy better? it does not look the same.
Sridhar have build in a circle with and glass-icon. When the image is clicked, the full featured image will be shown in a lightbox. Each image will have a transparent overlay caption at the bottom on which first few characters of the excerpt will be shown.single portfolio works fine, and the portfolio backend section works fine.
archive-portfolio.php
I have 2 problems, I think. How unload the second picture? and how to make the lightbox work?<?php /** * This file adds the custom portfolio post type archive template. * */ //* Force full width content layout add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); //* Remove the breadcrumb navigation remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); //* Remove the post info function remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); //* Remove the post content remove_action( 'genesis_entry_content', 'genesis_do_post_content' ); //* Remove the post image remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); //* Add portfolio body class to the head add_filter( 'body_class', 'sk_add_portfolio_body_class' ); function sk_add_portfolio_body_class( $classes ) { $classes[] = 'portfolio-archive-page'; return $classes; } //* Add featured image below post title with add_action( 'genesis_entry_header', 'sk_portfolio_grid' ); function sk_portfolio_grid() { if ( $image = genesis_get_image( 'format=url&size=portfolio' ) ) { $my_caption = get_the_excerpt(); // If you do not want to show the caption uncomment the line below // $my_caption = ''; $fullimage = genesis_get_image( 'format=url'); $my_url = get_permalink(); // Limit the number of characters so caption text fits in the bottom overlay $my_caption_short = substr($my_caption, 0, 25); if ( $my_caption != '' ) { printf( '<div class="portfolio-image-wrapper"> <div class="portfolio-image"> <a href="%s" rel="prettyPhoto[pp_gal]"><img src="%s" alt="%s" class="overlay" /></a> </div> <div class="overlay-text"> <a href="%s">%s... <em>Read more</em> »</a> </div> </div>', $fullimage, $image, the_title_attribute( 'echo=0' ), $my_url, $my_caption_short ); } else { printf( '<div class="portfolio-image"> <a href="%s" rel="prettyPhoto[pp_gal]"><img src="%s" alt="%s" class="overlay" /></a> </div>', $fullimage, $image, the_title_attribute( 'echo=0' ) ); } } } //* Remove the post meta function remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); genesis();
March 6, 2014 at 1:26 am in reply to: How can I show the site-description in header on outreach-pro #93629lindebjerg
MemberPerfect Anitac, works;)
lindebjerg
MemberHallo Davinder,
if I do so, the whole site header, incl. Navigation, site-description and more did turn white.
But I only want the background behind the Logo to turn white?Now I got it right, I wrote this into the CSS:
.site-avatar { background-color: #fff!important; }
Thanks and best Regards,
jesperJanuary 14, 2014 at 3:21 am in reply to: hide sub footer left and right widgets on a few pages? #85116lindebjerg
Memberif I do so, the site turns all blank ;(
January 13, 2014 at 4:15 am in reply to: hide sub footer left and right widgets on a few pages? #84933lindebjerg
MemberI have tried to inset your code into the function.php, but it did not change anything?
lindebjerg
Memberperfect,
thanks Robinlindebjerg
MemberFirst time it did not work, I have just send you the theme;)
lindebjerg
MemberA message that you sent could not be delivered to one or more of
its recipients. The following addresses failed:
<[email protected]> ?lindebjerg
MemberThe sort function was included in the Latent Theme.
I have just taken all about the Portfolio and places it into the Magazine Pro Theme.I mostly only make css changes. But I hope this is a solid way to get the Portfolio with sorting into Genesis. I can send you a copy of "my Theme" if you want to have a look inside?
lindebjerg
Memberokay, I have used some code from this theme: http://demo.thestizmedia.com/latent/
and the “Custom Post Type – Portfolio” Plugin. I like the sorting function and have no idea have to code it myself;)I have just setup 5 Portfolio articles to test responsive and float. The Portfolio seems to work fine, or?
I have another problem, sometimes by loading the site, text, or titles scale down.
First they are big then they get he right size?Have you seen this before? or on my site now?
I have only this problem in Chrome on Mac, no problems in Safari.lindebjerg
MemberI have found the mistake myself!
I just have to write here, then I mostly find the mistake in a minute;)// Remove the post image remove_action( 'genesis_entry_content', 'genesis_do_post_image' );
In taxonomy-portfolio_cat.php and taxonomy-portfolio_tag.php I changed it to
// Remove the post image remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );
and it rocks;)
lindebjerg
MemberSorry Brad, I did not know. I have found an other solution. Thanks for you respond anyway:)
lindebjerg
MemberThis reply has been marked as private.lindebjerg
MemberThank you for posting, we are now online here: http://christiankromann.dk/
I have tried changing the style but it looks in every browser different:)lindebjerg
MemberI have just added this:
.gform_wrapper ul.gfield_checkbox li input[type=checkbox] {
-webkit-appearance: checkbox!important;
}and it works;)
Just the styling not, but I think this is a general "check box" problem.
-
AuthorPosts