This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add X-Frame-Option Headers | |
add_header X-Frame-Options ALLOWALL; | |
add_header X-Frame-Options “ALLOW-FROM https://rightmessage.com”; | |
# Apply a CSP | |
add_header Content-Security-Policy "frame-ancestors https:; default-src https:; font-src https: data:; img-src https: data:; script-src 'unsafe-inline' 'unsafe-eval' https:; style-src 'unsafe-inline' https:; connect-src https; object-src 'none';"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add X-Frame-Option Headers | |
<IfModule mod_headers.c> | |
Header always append X-Frame-Options "ALLOW-FROM https://rightmessage.com" | |
Header always append X-Frame-Options ALLOWALL | |
</IfModule> | |
# Apply a CSP to all HTML and PHP files | |
<FilesMatch "\.(html|php)$"> | |
Header set Content-Security-Policy "frame-ancestors https:; default-src https:; font-src https: data:; img-src https: data:; script-src 'unsafe-inline' 'unsafe-eval' https:; style-src 'unsafe-inline' https:; connect-src https; object-src 'none';" | |
</FilesMatch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type='text/javascript'> | |
jQuery(document).ready(function() { | |
jQuery('.button-more').attr('href','#'); | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Add the below code to the 'Design' --> 'Appearance' --> 'Scripts' --> 'Header Scripts' area in your Rainmakwr Admin */ | |
<script type='text/javascript' src='/wp-content/themes/altitude-pro/js/home.js?ver=1.0.0'></script> | |
<script type='text/javascript' src='/wp-content/themes/altitude-pro/js/jquery.scrollTo.min.js?ver=1.4.5-beta'></script> | |
<script type='text/javascript' src='/wp-content/themes/altitude-pro/js/jquery.localScroll.min.js?ver=1.2.8b'></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Here is the code I used to hide and show my opt in forms. Make sure to replace the enews ID with your own */ | |
#enews-ext-3, #enews-ext-4, #enews-ext-5 { display: none; } | |
.category-3 #enews-ext-5 { display: block; } | |
.category-2 #enews-ext-4 { display: block; } | |
.category-1 #enews-ext-3 { display: block; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Add the code below to the 'Design' --> 'Custom CSS' area in your Rainmaker Admin */ | |
.image-section { | |
background: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.site-title a, | |
.site-title a:hover { | |
background-image: url('imageURL'); | |
background-size: contain; | |
background-repeat: no-repeat; | |
color: transparent; | |
display: block; | |
height: HHHpx; | |
width: WWWpx; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background-image: url('images/pathtoimage.png'); | |
} | |
.header, .primary-menu{ | |
background-image: url('images/pathtoimage.png') | |
} | |
.header{ | |
min-height: 120px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#site_title a{ | |
background-image: url('images/pathtoimage.png'); | |
display: block; | |
height: 80px; | |
width: 500px; | |
font: 0/0 a; | |
color: transparent; | |
} |