Forum Replies Created
-
AuthorPosts
-
Mahesh
ParticipantHi @Bret
This has to be done by creating a child theme. Visit HERE to learn more about “How to create a child theme”.
After that copy the
header.php
from Create Pro theme to Create Pro Child theme and replace the following code from line 36 – 45:<?php $jetpack_logo = get_option( 'site_logo' ); if ( !empty( $jetpack_logo['id'] ) && function_exists( 'jetpack_the_site_logo' ) ) { jetpack_the_site_logo(); } else { create_display_logo(); } ?>
with you slider code from plugin.
Your
header.php
file will look like this.<?php /** * The header for our theme. * * Displays all of the <head> section and everything up till <div id="content"> * * @package Create */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="page" class="hfeed site"> <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'create' ); ?></a> <header id="masthead" class="site-header" role="banner"> <div class="site-banner"> <div class="site-branding"> <nav id="site-navigation" class="main-navigation create-menu" role="navigation"> <button class="menu-toggle" aria-controls="menu" aria-expanded="false"><?php _e( 'Menu', 'create' ); ?></button> <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> </nav><!-- #site-navigation --> <?php /** * Replace This Section * With Your Slider * Code */ ?> <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <p class="site-description"><?php bloginfo( 'description' ); ?></p> </div><!-- .site-branding --> <?php if ( has_nav_menu( 'social' ) ) : ?> <div class="social-menu"> <?php wp_nav_menu( array( 'theme_location' => 'social', 'depth' => '1', 'link_before' => '<span class="screen-reader-text">', 'link_after' => '</span>' ) ); ?> </div><!-- .social-menu --> <?php endif; ?> </div><!-- .site-banner --> </header><!-- #masthead --> <?php /** * create_before_content hook * * @hooked create_slider - 10 */ do_action( 'create_before_content'); ?> <div id="content" class="site-content">
Let me know if this helps to get what you want.
Mahesh
ParticipantHi @ttolun
Put the following CSS code in “Appearance => Customizer => Theme Options => Custom CSS” box:
.wrapper img{ margin-top: 44px; } ::i-block-chrome, .wrapper img{ margin-top: 0; }
Let me know if this fixes your issue.
Mahesh
ParticipantHi @ShayC
Sorry, we don’t have the social sharing icons under each post on our themes. It is against the rules of wordpress.org themes repository because it falls under plugin territory.
If you want to have this functionality, you can use the “Social Sharing Module” of “Jetpack” plugin or use any of social sharing plugins found HEREMahesh
ParticipantHi @Emory,
Clean Journal Pro theme has multiple layouts, and size for main column varies with respect to the layout option. In your context, you have main content, and a primary sidebar. For this layout, the default widths are as below:
main : 820px
sidebar : 340px
wrapper : 1200pxDefault width of wrapper is 1200px which remains the same for all layouts.
As you’ve mentioned, its not a good idea to directly change the code if you want to change some styles, you can always use the Custom CSS in “Appearance => Theme Options => Custom CSS” box or create child theme and add in your child theme
style.css
fileFor featured image, its not that critically important to stick with the image size 780 x 586, you can always use the images larger than this. But you need to make sure the image’s aspect ration is 4:3 because the image will be automatically cropped when uploading. So if the aspect ration mismatches, it may crop some portion of the image itself. If you use the small sized image then it will use the default uploaded image.
If you need any further help on CSS for the above, please let me know.
Thank you for your appreciation.
Mahesh
ParticipantHi @mithrand,
You have put the following code in “Appearance => Theme Options => Custom CSS” box:
h1.entry-title { display: none; }
Remove this code from Custom CSS box and Post Title will be shown.
Let me know if this solved your issue.
Mahesh
ParticipantHi @agenciabrushup,
Yes, Chicago is a good theme for both website and blogging. It is fully responsive theme with different customization features. The theme provides good SEO too. I recommend you to check Chicago’s free version for demo from wordpress. If you like it you can upgrade to its Pro version anytime. Pro version give you more customization features.
Mahesh
ParticipantHi @Marko,
Yes, you can add 5th Featured Content in the same line. Add custom CSS as below in “Appearance => Theme Options => Custom CSS” box:
@media screen and (min-width: 981px) { #featured-post.layout-four .post:nth-child(4n+1), #featured-post.layout-three .post:nth-child(3n+1){ clear: none; } #featured-post.layout-four .post{ width: 18%; } }
-
AuthorPosts