Skip to content

Instantly share code, notes, and snippets.

View jessestu's full-sized avatar

jessestu jessestu

View GitHub Profile
<h2 style="text-align: justify; font-size: 12px;"><span style="color: #4d2e80;">A atenção aos detalhes, a busca por soluções inovadoras e sustentáveis e o cuidado com cada cliente são as premissas do nosso trabalho. Alinhamos funcionalidade e beleza de forma dinâmica para garantir que cada projeto reflita a identidade de seu proprietário.</span></h2>
/* Right-aligns the logo, adds subtle drop shadow. / @jessestu 5574308-hc */
@media screen and (min-width: 782px) {
.home.traveler_header_height_1 h1.logo {
right: 0;
position: absolute;
text-shadow: 0px 2px 2px #555;
width: 400px;
}
.home.traveler_header_height_1 h2.description {
right: 0;
/* Corrects the space that the parallax effect has on homepage. / @jessestu 5662293-hc */
.sydney-hero-area #slideshow[style] {
height: 1500px !important;
}
<!-- Start SimplePractice Booking Widget Embed Code -->
<style>.spwidget-button-wrapper{text-align: center}.spwidget-button{display: inline-block;padding: 12px 24px;color: #fff !important;background: #f26214;border: 0;border-radius: 4px;font-size: 16px;font-weight: 600;text-decoration: none}.spwidget-button:hover{background: #d15913}.spwidget-button:active{color: rgba(255, 255, 255, .75) !important;box-shadow: 0 1px 3px rgba(0, 0, 0, .15) inset}</style>
<div class="spwidget-button-wrapper"><a href="https://tammy-james.clientsecure.me" class="spwidget-button" data-spwidget-scope-id="f0b81cdd-ee83-4b76-8458-da6c83dabd0e" data-spwidget-scope-uri="tammy-james" data-spwidget-application-id="7c72cb9f9a9b913654bb89d6c7b4e71a77911b30192051da35384b4d0c6d505b" data-spwidget-scope-global data-spwidget-autobind>Request Appointment</a></div>
<script src="https://widget-cdn.simplepractice.com/assets/integration-1.0.js"></script>
<!-- End SimplePractice Booking Widget Embed Code -->
/* Renames the "close" listing on the homepage Featured Restaurants. / @jessestu 5640888-hc */
.listing .restaurant-status.close {
font-size: 0;
}
.listing .restaurant-status.close:after {
content: "Closed";
font-size: 10px;
}
/*Header and footer pink, header text white, hero background white, special offers background grey, special offers text black - 5725337-hc*/
#masthead, .site-footer {
background-color: #e80c9f;
}
.special-offer {
background-color: #d8d8d8;
}
.custom-logo .site-title span,
.site-header .main-navigation a,
.site-header .main-navigation a:visited,
/* Replaces the Header Image on hover. / @jessestu 3701943-hc */
/* First, set the default background image */
.header-image a {
background-image: url('https://miglenovadesign.files.wordpress.com/2017/09/cropped-header-295-2.jpg');
}
/* Second, set the :hover image */
.header-image a:hover {
background-image: url('https://miglenovadesign.files.wordpress.com/2018/06/color21.jpg');
@jessestu
jessestu / Custom-CSS.css
Last active August 19, 2018 22:46
For https://jores.net Partners page to look like this: http://cld.wthms.co/vVpjiz
/* Aligns the icons on the Partners page.
See original at:
https://gist.github.com/jessestu/74c6e845985642608014f4362c359554 / @jessestu 5185000-hc */
#post-49 .entry-content {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
/* Re-orders the elements on the My Account page. / @jessestu 5839844-hc */
.page-id-23 {
display: flex !important;
flex-direction: column;
}
.page-id-23 .elementor-4850 {
order: 1;
}
.page-id-23 .my-account-header {
order: 3;
@jessestu
jessestu / Jetpack-CDN-Setup-Instructions.md
Last active November 4, 2019 18:07
Add image optimization to your WordPress.com Business site!

Set up Jetpack Image CDN compression

This walkthrough sets up compression together with the Jetpack CDN plugin to create faster page loads.

By default, it sets the compression of images on the site to 80% quality to speed up load times. Adjust this by changing the 80 on line 3 of the code.

What to do:

  1. Install Code Snippets on your site: https://wordpress.com/plugins/code-snippets
  2. Activate code snippets either on that installation page or by going to My Site → WP-Admin → Plugins