• Hi,
    I’ve made some progress with my website, http://www.elaineschattner.com. But I’m limited in the portfolio so far. I’ve elected to use the WPJetpack portfolio (custom post type) inserts in case I change themes, having had that issue before.

    1. Is there a way to alter the font within the portfolio displays. I’ve been adjusting shortcode, eg. [portfolio display_types=true display_tags=false include_type=X, columns=3 showposts=12 orderby=Asc]. But the font is gigantic, and the excerpts are shown, besides the titles – all HUGE. Is there a way to indicate certain attributes to be displayed (such as date of publication, or the magazine, and others not to be displayed?
    2. Is there a way to introduce some text above the display on a portfolio page – what’s essentially a title? (e.g. essays on topic y, as appeared in magazine z).

    I’ve posted this question, more or less, with JetPack, no answers so far.
    thank you,
    ES

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi there,

    1. For the portfolio shortcode font size, I checked all the pages linked from your top menu but I couldn’t find any portfolio projects. Could you provide a link to a page where you’re using the portfolio shortcode so I can take a look?

    I found this link from one of your other posts, but the font size is reasonable to me and I don’t see any excerpts, so I’m not sure this is what you’re referring to:

    https://www.elaineschattner.com/journalism/project-type/bc-screening/

    Is there a way to indicate certain attributes to be displayed (such as date of publication, or the magazine, and others not to be displayed?

    As I mentioned in one of your other threads, all the attributes available with the shortcode are listed here:

    https://en.support.wordpress.com/portfolios/portfolio-shortcode/

    There is no option to pull out other information apart from what’s listed there.

    2. Is there a way to introduce some text above the display on a portfolio page – what’s essentially a title? (e.g. essays on topic y, as appeared in magazine z).

    If you’re referring to a page on which you’ve used the portfolio shortcode, then the text you add in the post title field will be displayed above the projects.

    On automatically generated portfolio archive pages, it’s not possible to change the title text easily, though you could use possibly use a CSS workaround. If you’re interested in doing that, please provide a link to an example page where you’d like to add or change the title and I’ll have a look directly.

    Thread Starter elainemd

    (@elainemd)

    Thanks Kathryn,
    If you look at this page:

    https://www.elaineschattner.com/movies-tv-reviews-by-es/

    in which I’ve got the short code [portfolio display_types=true display_tags=true include_type=reviews columns=3 showposts=12 orderby=desc]

    you can see the problem with how it looks, gigantic font, etc.

    The automatically-generated pages look OK/fine, but they don’t allow for explanations (like “click on the image to see the article”).

    Maybe you can suggest how I might indicate the following info, which is crucial:
    1.where these were published, for purposes of attribution. Not all are at one magazine, and for past and future content I need to be indicate that –
    2. date of publication (such as month, year)

    Thank you, Elaine

    Moderator Kathryn Presner

    (@zoonini)

    If you look at this page:

    https://www.elaineschattner.com/movies-tv-reviews-by-es/

    in which I’ve got the short code [portfolio display_types=true display_tags=true include_type=reviews columns=3 showposts=12 orderby=desc]

    you can see the problem with how it looks, gigantic font, etc.

    You can reduce the font size of the portfolio title and excerpts with some custom CSS, adjusting the values as you like:

    .jetpack-portfolio-shortcode .portfolio-entry-title {
      font-size: 20px;
    }
    .jetpack-portfolio-shortcode .portfolio-entry-content {
      font-size: 16px;
    }

    Maybe you can suggest how I might indicate the following info, which is crucial:
    1.where these were published, for purposes of attribution. Not all are at one magazine, and for past and future content I need to be indicate that –
    2. date of publication (such as month, year)

    This isn’t possible with the Jetpack portfolio shortcode, as I mentioned before. The only options are the ones listed on the shortcode support page. It’s not possible to add additional fields. You would need to add the extra information to the excerpt itself.

    If additional fields on the portfolio are crucial for your needs, you’ll need to find a different portfolio plugin as it isn’t possible with this one, I’m afraid.

    Thread Starter elainemd

    (@elainemd)

    Thank you, I re-privatized that page, since it’s not ready.
    Qu: to add the shortcode you suggest, i.e. the CSS, .jetpack-portfolio-shortcode .portfolio-entry-title {
    font-size: 20px;
    }
    .jetpack-portfolio-shortcode .portfolio-entry-content {
    font-size: 16px;
    }

    exactly where would I place that CSS? in the Sketch theme editor – and if so, at the bottom, or top? or somehow within the page CSS.

    ES

    Moderator Kathryn Presner

    (@zoonini)

    Don’t edit the theme files directly, otherwise your changes will be overwritten every time the theme is updated to the latest version.

    Since you’re already using Jetpack, an easy way to add custom CSS is to activate the Custom CSS module. You’ll then add your custom CSS in the new stylesheet editor that’ll appear in your dashboard, under Appearance > Edit CSS.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘adjusting fonts, text above Jetpack portfolio items in Sketch’ is closed to new replies.