Skip to content

Instantly share code, notes, and snippets.

@Dinamiko Dinamiko/dkpdf-wc-04.php
Last active Jan 24, 2016

Embed
What would you like to do?
<style type="text/css">
body {
background:#FFF;
font-size: 100%;
}
.product-container {
width:100%;
float:left;
}
.product-container h1 {padding-top:15px;}
.product-container p {font-size:14px;}
.product-left {
width:50%;
float:left;
}
.product-right {
width:50%;
float:right;
margin:0;
padding:0;
line-height: 130%;
}
.price {
float:left;
margin-right:30px;
padding:0;
line-height: 130%;
color:#029ff7;
}
.line-through {
text-decoration: line-through;
color:#a3d2fb;
}
.button-container {
width:100%;
float:left;
}
.button-item {
float:right;
width:150px;
height:28px;
border-radius: 10px;
background:#029ff7;
font-size:24px;
text-align: center;
margin:0;
line-height:100%;
padding: 15px;
}
<?php
// get pdf custom css option
$css = get_option( 'dkpdf_pdf_custom_css', '' );
echo $css;
?>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.