Portfolio

This topic is: not resolved

This topic contains 10 replies, has 3 voices, and was last updated by Avatar John 6 years, 7 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #545
    Minimoog
    minimoog
    Member

    Hi livemesh,

    thanks for this awesome theme – great work!

    I have a couple of questions:

    1. is it possible to reduce the image flickering of the thumbnail hover effects?
    Testet on  safari 6.0.3, osx 10.8.3)

    2. is it possible to choose if the portfolio thumbnail is linked only to the detail page without the lightbox link? Would be nice for the next update 😉

    3. is it possible to decide if the portfolio thumbnail infos are displayed or not on hover (title, category). Maybe this would be a nice feature for the backend in the future?

    4. I´ve noticed that on the portfolio site the title hover effect is missing. On the homepage segment “Our work speaks for itself” there you have the hover effect on the portfolio title.

    Thanks four your help!

    Greetings from bavaria,

    Nic

     

    #549
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    Thanks for bring these to my notice.

    1) Will take a look at the flickering effect. I did not notice such a effect on my Macbook Pro running Mountain Lion.
    2) Will try to accommodate this as quickly as I can. Today someone asked me to provide the reverse – only lightbox link and no link to post. Will need some changes for both. If you need to do this immediate, pls paste the following CSS into Custom CSS panel in theme options or in the custom.css file under custom folder.

    .image-info a.lightbox-link { display: none; }
    .image-info .image-info-buttons { width: 45px; margin-left: -22px; }
    

    3) Added to my todo list. Presently if you do want to disable it everywhere, just paste this code into Custom CSS tab in options panel –

    .image-info { display: none !important; }
    

    4)This is a major issue since it seems to be the case with blog items as well as portfolio items. Can you try this and see if it helps –

    #content .hentry h2.entry-title a:hover { color: #46A5D5; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } 
    

    Thanks
    Livemesh

    #550
    Minimoog
    minimoog
    Member

    Hi Livemesh,

    thanks for your reply.

    I´ve tested everything an it works like a charm 🙂

    The Hover effect is also visible on the portfolio and blog page now.

    Flickering appears in my case only on safari. Firefox and Chrome are ok.

    Thanks,
    Nic

    #551
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    Fantastic. Thanks for letting me know. Will have the Safari on OS X issue taken care of as quickly as possible.

    #553
    Avatar
    John

    Thanks for the response to @minmoog, #2 helped me out as well. With regard to his #4, he was wanting to be able to display or not display the title hover effect or not. I’m wanting to change the Category title and link to just displaying the Author. Which file can I look to make this modification and what would be your suggested change? Thanks!

    #555
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    John,

    This took a while I got busy with updates for themes. I really appreciate you posting these questions in the forum. Will help everyone instead of being buried inside ThemeForest dashboard.

    Here is the change required for what you are asking –

    Pls change the line number 116 of file /framework/functions/thumbnail-functions.php and modify as below –

                    //$image_info .= mo_get_taxonamy_info($taxonamy); //replace with author
                    $image_info .= mo_entry_author();
    

    and then insert the following styling to Custom CSS tab in options panel –

    .image-info .author i { display: none; } /* Hide the icon */
    .image-info .author { display: block; margin-top: 20px; }
    

    Hope this works.

    #560
    Avatar
    John

    Thank you so much for getting this to me. I’m just getting around to trying this. It worked. HOWEVER, not the way I had intended. There is an “author” field in the Portfolio Information area of the Portfolio Entry. I’d like to display what’s in that “author” field instead of the actual post author. I hope that makes sense and I’m sorry that I didn’t specify as I should have.

    #563
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    Here is the code for what you asked for –

    Add this function to /framework/functions/thumbnail-functions.php

    function mo_get_portfolio_credit($post_id) {
        $project_author = get_post_meta($post_id, '_portfolio_author_field', true);
        if (!empty($project_author)) {
            return '
    ' . htmlspecialchars_decode($project_author) . '
    '; } return ''; }

    Modify the line 116 of this file as below –

    function mo_get_thumbnail($args) {
    .....................
                    $post = get_post($post_id);
                    if ($post->post_type == 'portfolio')
                        $image_info .= mo_get_portfolio_credit($post_id);
                    else
                        $image_info .= mo_get_taxonamy_info($taxonamy);
    ...................
    }
    

    and then place the below styling in Custom CSS tab or custom.css –

    .image-info .portfolio-credit {
    position: relative;
    color: #FFF;
    top: 10%;
    }
    

    Hope this helps.

    #586
    Avatar
    John

    I’m a little uncertain where the second set of code should go. Should it go in /framework/functions/thumbnail-functions.php. If yes, could you tell me what exact code should be replaced? Thanks!

    #588
    Livemesh
    livemesh
    Keymaster
    Post count: 1011

    Pls locate this line in /framework/functions/thumbnail-functions.php –

    $image_info .= mo_get_taxonamy_info($taxonamy)
    

    Currently it is line number 116 in that file. Pls replace that line with the second set of code I posted above. Thanks

    #608
    Avatar
    John

    That worked! Thanks.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.