TT Themes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [LiveRide] Widgets in left barHi,
by default, the left sidebar is determined only for a menu. To put there some widgets, you will need to create a child theme, register a new widget area and output it in “header.php”, right after this code:
<div class="menu-box"> <?php wp_nav_menu( array( 'menu_id'=>'nav', 'theme_location'=>'main-navigation' ) ); ?> </div>Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [NatureSpace] Button/Icon in Primary MenuHi,
because this theme uses The Elegant Icon Font, it would be possible to add an icon into the menu. Just add a Custom Link to your menu and put the following code into the “Link Text” field:
<i class="arrow_up" aria-hidden="true"></i>You can replace the class
arrow_upwith any of the following class names.Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [HappenStance] Button LinkHi,
free themes hosted on wordpress.org are not allowed to include custom shortcodes since it is considered as a plugin-territory functionality according to the latest guidelines. You will need to create a child theme and add the “button” shortcode through “functions.php”. Here is an example how the code can look:
function happenstance_button_shortcode($atts, $content = null) { extract(shortcode_atts(array('link' => '#'), $atts)); return '<a class="custom-button" href="'.$link.'">' . do_shortcode($content) . '</a>'; } add_shortcode( 'button', 'happenstance_button_shortcode' ); add_filter('widget_text', 'do_shortcode');Or you can use a shortcode plugin, for example the Shortcodes Ultimate. If you plan to frequently switch between various themes, it is the best solution, because shortcodes provided by a plugin are not dependent on any theme.
Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [ShootingStar] Boxed style and Header clicked colorDear Marios,
to remove the blue background color for active menu items, please use this custom CSS:
#header .menu-box .current-menu-item > a, #header .menu-box .current-menu-ancestor > a, #header .menu-box .current_page_item > a, #header .menu-box .current-page-ancestor > a, .home #header .menu-box .link-home {background: none !important;}I am sorry, but this theme offers only the boxed layout. Unfortunately, extensive customizations are outside the scope of what I can provide with the support, because each change has to be tested across various browsers and screens sizes. I spend a lot of time testing and maintaining my themes. When you ask for a customization – it is not possible for me to test out the change on all screens. If you need to customize a theme, I recommend you to make an inquiry on http://jobs.wordpress.net/. Thanks and I hope you understand my limitations.
If you only would like to remove the white background from the boxes, then you can use this custom CSS:#wrapper .entry-content, #wrapper .entry-headline-wrapper {box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; background: none; margin-bottom: 0;}Best regards,
Tomas TomanHi,
this theme uses the “search.php” template to output the search results. I recommend you to put the code just below the following line:
<div class="entry-content-inner">The individual search results entries use the template “content-archives.php” (as well as the post entries on all archive pages – category archives, etc.).
Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [RestImpo] remove or adjust margin on headerHi Ivan,
I am glad that it helped!
With the best wishes,
Tomas TomanForum: Themes and Templates
In reply to: [NatureSpace] Social Buttons in Header LogoIt would be possible to hard-code the links into “header.php”, but this request is outside the scope of what I can provide with the support, because each change has to be tested across various browsers and screens sizes. I spend a lot of time testing and maintaining my themes. When you ask for a customization – it is not possible to test out the change on all screens. Thanks and I hope you understand my limitations.
Because this theme supports The Elegant Icon Font, the easiest way would be to replace the default Contact Information bar in “header.php”:
<?php if ( !is_page_template('template-landing-page.php') ) { ?> <?php if ( get_theme_mod('naturespace_header_address', naturespace_default_options('naturespace_header_address')) != '' || get_theme_mod('naturespace_header_email', naturespace_default_options('naturespace_header_email')) != '' || get_theme_mod('naturespace_header_phone', naturespace_default_options('naturespace_header_phone')) != '' || get_theme_mod('naturespace_header_skype', naturespace_default_options('naturespace_header_skype')) != '' ) { ?> <div class="top-navigation-wrapper"> <div class="top-navigation"> <p class="header-contact"> <?php if ( get_theme_mod('naturespace_header_address', naturespace_default_options('naturespace_header_address')) != '' ){ ?> <span class="header-contact-address"><i class="icon_house" aria-hidden="true"></i><?php echo esc_attr(get_theme_mod('naturespace_header_address', naturespace_default_options('naturespace_header_address'))); ?></span> <?php } ?> <?php if ( get_theme_mod('naturespace_header_email', naturespace_default_options('naturespace_header_email')) != '' ){ ?> <span class="header-contact-email"><i class="icon_mail" aria-hidden="true"></i><?php echo esc_attr(get_theme_mod('naturespace_header_email', naturespace_default_options('naturespace_header_email'))); ?></span> <?php } ?> <?php if ( get_theme_mod('naturespace_header_phone', naturespace_default_options('naturespace_header_phone')) != '' ){ ?> <span class="header-contact-phone"><i class="icon_phone" aria-hidden="true"></i><?php echo esc_attr(get_theme_mod('naturespace_header_phone', naturespace_default_options('naturespace_header_phone'))); ?></span> <?php } ?> <?php if ( get_theme_mod('naturespace_header_skype', naturespace_default_options('naturespace_header_skype')) != '' ){ ?> <span class="header-contact-skype"><i class="social_skype" aria-hidden="true"></i><?php echo esc_attr(get_theme_mod('naturespace_header_skype', naturespace_default_options('naturespace_header_skype'))); ?></span> </p> <?php } ?> </div> </div> <?php }} ?>with something like this:
<?php if ( !is_page_template('template-landing-page.php') ) { ?> <div class="top-navigation-wrapper"> <div class="top-navigation"> <p class="header-contact"> <span class="header-youtube"><a href="http://custom-youtube-link"><i class="social_youtube" aria-hidden="true"></i></a></span> <span class="header-facebook"><a href="http://custom-facebook-link"><i class="social_facebook" aria-hidden="true"></i></a></span> </p> </div> </div> <?php } ?>Then you probably will need to add some custom CSS to style the links (position, color, etc.).
Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [NatureSpace] Social Buttons in Header LogoHi,
I am sorry, but the possibility to add social media links into header is available only in the Premium version. With the Free version, I recommend you to put the social media links into the Right Sidebar using the Social Icons Widget.
Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [RestImpo] remove or adjust margin on headerHi Ivan,
thank you for the link. This custom CSS should hide the empty space above the slider:
.home #main-content {margin-top: 0;} .home #main-content #content .entry-content p {margin-bottom: 0;}Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [RestImpo] remove or adjust margin on headerHi Ivan,
if possible, please post here a link to your website so I could check it.
Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [StairWay] Warning Division by ZeroFor example whether you haven’t added or removed some code from “header.php”, “functions.php” or other template files. If the comments settings are set correctly, please check whether the problem persists if you switch to the default Twenty Sixteen theme. If so, I recommend you to re-upload all files and folders (except the wp-content folder, wp-config.php and root .htaccess files) from a fresh download of WordPress.
Best regards,
Tomas TomanYou are welcome!
Forum: Themes and Templates
In reply to: [StairWay] Warning Division by ZeroOne more tip: please verify what is your number of comments per page set in “Settings > Discussion > Other comment settings > Break comments into pages with xx top level comments per page”. If the field is empty or set to “0”, it might cause the problem.
Best regards,
Tomas TomanForum: Themes and Templates
In reply to: [StairWay] Warning Division by ZeroDear Rod Redpath,
did you modify the theme in some way or are you using the original (unmodified) version please? What was the last thing you made before the problem has occured?
Please try to deactivate all installed plugins to see whether it could help. If this works, re-activate the plugins one by one until you find the problematic plugin. If this does not help, please verify whether the problem occurs when you switch to the default theme.
Best regards,
Tomas TomanHi,
please put the following custom CSS into “Appearance > Customize > SongWriter General Settings > Custom CSS”:
#wrapper #main-content .sticky { background-color: white; }Best regards,
Tomas Toman