Forum Replies Created
-
AuthorPosts
-
Mahesh
ParticipantHi @Kenta,
In WordPress,
functions.php
is the core function. Only the functions included infunctions.php
will be executed. Just to make you clear on the above issue, in Adventurous Pro,adventurous-template-tags.php
is included infunctions.php
. It would be easy to work/find the functions in seperate small file than in a single large file.
So if you prefer to follow the theme’s way of including, then you can put the function toadventurous-template-tags.php
and then include it in child theme’sfunctions.php
.Hope it makes you clear.
Let me know if any problem or confusion.Regards,
MaheshMahesh
ParticipantHi @Raielene,
Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS.
#hgroup, #header-right.header-sidebar { padding-top: 10px; } #hgroup-wrap { padding-bottom: 10px; } @media screen and (max-width: 960px){ #hgroup-wrap { padding-top: 10px; } }
Regards,
MaheshMahesh
ParticipantHi @husker,
It is because margin-bottom or <p> tag in #featured-content is set to 0 by default. You can be overridden with Custom CSS. Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS.
#featured-content p { margin-bottom: 20px; }
Regards,
MaheshFebruary 1, 2016 at 11:38 am in reply to: test post: no action required Some posts not displaying on homepage #84306Mahesh
ParticipantHi @mamatapk,
Just checked your site, and you are using Clean Box Pro. For fixing the above issue, go to “Dashboard=> Appearance=> Customize=> Theme Options=> Homepage/Frontpage Options” and make sure that either all the categories are selected or none are selected. Then all the latest posts will be displayed in the homepage regardless of their categories.
It seems the issue has been fixed since post from different categories are being displayed now.Regards,
MaheshFebruary 1, 2016 at 10:57 am in reply to: Trying to move the logo to the left of the Site Title #84304Mahesh
ParticipantHi @Connie,
Thank you for using Clean Box Pro.
For the above change, please go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS.@media screen and (min-width: 768px){ #site-header { float: left; clear: none; } #site-logo { float: left; clear: none; margin-right: 20px; } }
Regards,
MaheshMahesh
ParticipantMahesh
ParticipantHi @marga,
In the above code, please replace the follwing lines of code.
$title_attribute =the_title_attribute( array( 'before' => __( 'Permalink to:', 'catch-base' ), 'echo' => false ) );
With this:
$title_attribute =the_title_attribute( array( 'echo' => false ) );
Let me know if any problem arises.
Regards,
MaheshMahesh
ParticipantHi @Anton,
For the hover effect in images under slider, go to “Dashoboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS.
.post-160 a img { -moz-transition: all .3s ease-in-out; -webkit-transition: all .3s ease-in-out; transition: all .3s ease-in-out; } .post-160 a:hover img { -moz-transform: scale(1.2); -webkit-transform: scale(1.2); transform: scale(1.2); }
Regards,
MaheshMahesh
ParticipantHi @wwwalker,
Yes, sometimes image’s sizes and proportions do affect the layout even with proper CSS. And sometimes Custom CSS seems to be necessity.
Regards,
MaheshMahesh
ParticipantMahesh
ParticipantHi @wwwalker,
Sorry for the late reply.
That’s great to know that you’ve found the solution to your issue by yourself. I was about to check your site but seems your site’s down with message “Error establishing a database connection”.Let me know if any problem.
Regards,
MaheshMahesh
ParticipantHi @captain eo,
Have you managed to fix the issue or something. We’ve checked your site and everything’s fine, menu is working fine and there is no “Skip to Content” displaying at the top of the site either.
Let me know if any further problem.
Regards,
MaheshMahesh
ParticipantHi @kerrigo,
Thank you for your appreciation.
The theme is almost done and is in the testing phase. It is currently in our top priority. We’ll be pushing the update to WordPress.org repository by tomorrow.
Thank you for you patience.
Have a nice day!Regards,
MaheshMahesh
ParticipantHi @husker,
Sorry for the late reply.
The above code is working fine, and the featured content are aligning horizontally to one another. The problem with above code is that it is always making the featured content’s size 25%:50%:25% in all sizes, so I’ve made a little change. Please replace the code with below..featured-content-image { text-align: center; } @media screen and (min-width: 991px) { #featured-content.layout-three .hentry { width: 25%; } #featured-content.layout-three .hentry:nth-child(3n+2) { width: 50%; } } @media screen and (max-width: 990px) { #featured-content.layout-three .hentry { width: 100%; } }
Note: Your content seem to have fixed width so I’ve made the width featured content to full-width for display max-width: 990px.
Regards,
MaheshMahesh
ParticipantHi @Jos,
Do you mean to display featured image in 1 column full width? If so, then go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS.
#featured-content .hentry { width: 100%; } #featured-content .featured-content-image { text-align: center; }
Regards,
MaheshMahesh
ParticipantHi @wwwalker,
Just checked your website and your current theme version is 4.2.1. it seems you have managed it the issue with Custom CSS. The issue has been fixed in the latest update Catch Box 4.3 . Please update to the latest release.
Regards,
MaheshMahesh
ParticipantHi @Kenta,
For this, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in your child theme’s
functions.php
, add the following codes./** * Adding tags in header_meta * */ function adventurous_header_meta() { $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>', esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); $author = sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'adventurous' ), get_the_author() ) ), get_the_author() ); // Translators: used between list items, there is a space after the comma. $tag_list = get_the_tag_list( '', __( ', ', 'adventurous' ) ); // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. if ( $tag_list ) { $utility_text = __( '<span class="on-date">Posted on %1$s</span><span class="by-author"> by %2$s</span> | </span><span class="in-tag">Tagged %3$s</span>', 'adventurous' ); }else{ // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. $utility_text = __( '<span class="on-date">Posted on %1$s</span><span class="by-author"> by %2$s</span>', 'adventurous' ); } printf( $utility_text, $date, $author, $tag_list ); }
Regards,
MaheshJanuary 31, 2016 at 10:56 am in reply to: URGENT: After Reactivating Original Theme After Child Theme — LOST WORK #84215Mahesh
ParticipantHi @pal_coche,
This has been an issue with the WordPress’s customizer. When a child theme used, it doesn’t inherit the settings from the parent theme and vice versa. The issue you are facing now is the same. Now what can be done is, create a child theme and activate it, you’ll get all your settings back and if you want to switch to the parent theme then you need to move all the settings that were changed in the child theme one by one by setting it again in the parent theme manually. There hasn’t been any alternative for this yet.
Regards,
MaheshMahesh
ParticipantHi @Anton,
For zoom on hover in slider, go to “Dashoboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS:
#feature-slider .slider-image a img { transition: all .3s ease-in-out; } #feature-slider .slider-image a:hover img { transform: scale(1.1); } #feature-slider .slider-image { max-height: 513px; overflow: hidden; }
Regards,
Mahesh -
AuthorPosts