Site logo

[Resolved] Page Header Image

Home Forums Support [Resolved] Page Header Image

Home Forums Support Page Header Image

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #168777
    Tony

    Is it possible to enable a soft crop of the image with a defined size instead of just the hard crop?

    #168780
    Tony

    Is it just a change from ‘true’ to ‘false’ in the code somewhere?

    #168878
    Tom
    Lead Developer
    Lead Developer

    If you leave one of the values blank or give them the value of ‘9999’, soft crop will be enabled and will take the resize proportionally from the real value.

    #168884
    Tony

    If you set image width to 9999 and the height to whatever size you require this works but, so far as I can see not the other way i.e. Width to required size and height to 9999.
    Should it work both ways? Would be nice if it did.

    Also sizes featured image as they both use the same variable (or whatever it’s called).

    #168890
    Tom
    Lead Developer
    Lead Developer

    Leave the height blank or set it to 0 and it should work 🙂

    #168902
    Tony

    No, fail.
    set width to, say, 200px and height to 0 or 9999 or blank and width is set to 200px and height is not scaled.
    http://loveitphotography.uk/uncategorized/blog-4/

    #168903
    Tony

    reply above. This in error

    • This reply was modified 10 years, 6 months ago by Tony.
    #168947
    Tom
    Lead Developer
    Lead Developer

    Interesting – looks like a bug.

    I’ll get the fix into the upcoming version.

    Thanks!

    #169047
    Tom
    Lead Developer
    Lead Developer

    This has been fixed in the upcoming version 🙂

    #169298
    Tony

    I have updated the theme and it is not fixed – still as above

    #169322
    Tom
    Lead Developer
    Lead Developer

    The theme doesn’t have the page header functionality – GP Premium/Generate Page Header does.

    The fix will be in those updates 🙂

    #169347
    Tony

    OK thanks – my bad.
    Is there a list of changes/fixes etc. in the latest theme release?
    I’ve looked but can’t see one.

    #169348
    Tom
    Lead Developer
    Lead Developer

    Absolutely – all changes can be found here: https://generatepress.com/category/development/

    #169356
    Tony

    I have replaced my back to top plugin with yours – one less thing to go wrong thank you!
    ————————–
    Where do I find filters and their parameters please?
    I guess my question really is – how do I set them?

    New filter: generate_back_to_top_icon
    New filter: generate_back_to_top_scroll_speed
    New filter: generate_back_to_top_start_scroll
    —————————
    What is ‘schema.org’ and what is the benefit of ‘Improve schema.org handling?
    Should I know about this? I’m guessing it’s a list of variables but for css or php?
    —————————
    Is there a custom php function like the custom css?

    #169373
    Tom
    Lead Developer
    Lead Developer

    You can see how to add filters here: https://generatepress.com/knowledgebase/filter-list/

    You only need to use them if you want to change something about the button.

    Schema is a way for your website to communicate with search engines – it lets them know which element is the page headline, which element holds your content etc.. No need for you to do anything about it 🙂

    As for the custom PHP option, this might help: https://generatepress.com/knowledgebase/adding-php-functions/

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.