PDF for GravityView 0.7.0: New CSS Feature

Featured image for the blog post "PDF for GravityView 0.7.0 Update"

We’ve released version 0.7.0 of the PDF for GravityView extension. This update makes it easy for users to customize their PDFs with CSS (no PHP filter required). To do so, a new Additional CSS setting – with code highlighting support – has been added to the Single Entry PDF meta box.

Screenshot of the Additional CSS setting added to PDF for GravityView v0.7.0. Custom CSS has been added, and an example of what the generated PDF looks like is showing.

Additionally, we’ve now hidden the Gravity Form used for the Share PDF feature when you create a new GravityView.

What can you do with the new Additional CSS feature?

That’s a good question, and it’ll depend on the specific View type you are using. For example, if you have a Table or Datatable View, you could add a border to all table cells, or only the user’s response:

/* Add border to all table cells */
.label, .value {
  border: 1px solid #333333;
}

/* Only add a border to the user responses */
.value {
  border: 1px solid #333333;
}

Or you could change the color, size, and case of the labels:

.label {
  font-size: 110%;
  color: #1D2475;
  text-transform: uppercase;
}

If you’ve a List view, you might want to jazz up the header by changing the background and text colors:

.gv-list-view-title {
background: #1D2475;
color: #FFFFFF;
}

.gv-list-view-title h3,
.gv-list-view-title h4 {
color: #FFFFFF;
}

Or increase the size of the image that gets displayed:

.gv-list-view-content-image {
width: 50%;
}

See the developer documentation for more useful CSS snippets to use with the various Views.

How to Update the PDF for GravityView Add-on

If you’ve an active license key for PDF for GravityView, this update is available via WordPress One-Click Updates. Alternatively, you can also download the plugin from your GravityPDF.com account and install it manually from your WordPress admin area, via File Upload or FTP. If you have any questions or need assistance, please reach out to our friendly support team.

We want to thank all the users for reporting these issues. It’s your direct feedback that makes Gravity PDF grow bigger and better.

Don't have one yet?
Purchase PDF for GravityView, and start PDFing your Views in no time.

Changelog

New Feature

  • Include an Additional CSS setting in the Single Entry PDF section

Bug Fixed

  • Hide the Share PDF form in the existing form list when creating a new View (GravityView 2.17.6+)
Stay on top!
Never miss out on the latest news and updates in Gravity PDF land. Subscribe to our newsletter now!