panavrin / sang_hgm

sang mgh summer work
0 stars 0 forks source link

x theme - customization #6

Open panavrin opened 10 years ago

panavrin commented 10 years ago

This is to keep track of customization I made in x-theme in case of migration

panavrin commented 10 years ago

Custom CSS

.x-navbar { background-color: #ffffff; }

.x-logobar { background-color: #ffffff; }

.page-template-template-layout-portfolio-php .x-responsive-video-inner:before { content:""; display:block; left:0; right:0; bottom:0; top:0; position:absolute; z-index:100000; }

panavrin commented 10 years ago

deleted <?php x_featured_image(); ?> in VIEWS/INTEGRITY/CONTENT.PHP for not having featured image in a post.

panavrin commented 10 years ago

added blur filter / background to custom CSS

a.entry-thumb:hover img, .x-recent-posts a:hover img { opacity: 0.5 !important; -webkit-filter: blur(3px); -moz-filter: blur(3px); -o-filter: blur(3px); -ms-filter: blur(3px); filter: blur(3px); transition:.5s -webkit-filter linear; zoom: 1; }

.entry-thumb:before { content: "" !important; display:none; }

.x-recent-posts .format-standard .x-recent-posts-img:before, .x-recent-posts .format-video .x-recent-posts-img:before, .x-recent-posts .format-audio .x-recent-posts-img:before, .x-recent-posts .format-image .x-recent-posts-img:before, .x-recent-posts .format-gallery .x-recent-posts-img:before, .x-recent-posts .format-link .x-recent-posts-img:before, .x-recent-posts .format-quote .x-recent-posts-img:before, .x-recent-posts .x-portfolio .x-recent-posts-img:before { content:"" !important; display:none; }

panavrin commented 10 years ago

writing the title on tope of a blurred recent post :


<div class="x-recent-posts-banner-text"><h1 class="h-recent-posts">'.get_the_title().'</h1></div>

in ./plugins/x-shortcodes/functions/shortcodes.php

panavrin commented 10 years ago

svg code added in footer. for blurred image.

panavrin commented 10 years ago

In functions.php in x theme, gallery shortcode will be added.

panavrin commented 10 years ago

integrity.php/_breadcrumbs.php revised

<?php if ( ! empty( $post->post_parent )) : ?>

no breadcrumb if it has no parent.

panavrin commented 10 years ago

team-manager plugin customized

shortcode-generator.php tm-style.css

panavrin commented 10 years ago

modified wp-content/themes/x_package/x/framework/functions/global/content.php

to remove vertical line at the end.

// Custom Output // =============================================================================</p> <p>if ( ! function_exists( 'x_wp_title' ) ) :</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/panavrin"><img src="https://avatars.githubusercontent.com/u/605762?v=4" />panavrin</a> commented <strong> 10 years ago</strong> </div> <div class="markdown-body"> <p>_breadcrumbs.php </p> <p>navigating arrows are disabled. </p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/panavrin"><img src="https://avatars.githubusercontent.com/u/605762?v=4" />panavrin</a> commented <strong> 10 years ago</strong> </div> <div class="markdown-body"> <p>revised featured image shortcode regarding the request " </p> <p>[11/10/14, 11:15:37 AM] Andrew Alexander: can you see if there is a way to create a square text box, with the outline being the respective color of the three sections, that can be placed below the featured images to use a descriptions of the featured images [11/10/14, 11:15:46 AM] Andrew Alexander: would like the text to be centered in the boxes. [11/10/14, 11:16:06 AM] Andrew Alexander: rectangle is more like it. [11/10/14, 11:16:15 AM] Andrew Alexander: to span the length of the featured image" </p> <p>See sang-featured-image.php</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>