Forum Replies Created
-
AuthorPosts
-
Mahesh
MemberHi @micha,
If you just want the checkbox and radio button (html), you can go to content text tab then add the following:
<label>Checkbox</label> <input name="checkbox" type="checkbox" value="a" />A <input name="checkbox" type="checkbox" value="b" />B <label>Radio button</label> <input name="radio" type="radio" value="c" />C <input name="radio" type="radio" value="d" />DBut html won’t transfer state or save value, it will only remain selected until you refresh the page.
I you want to save and access value, you will have to use plugins eg: Contact Form 7.Regards,
MaheshFebruary 24, 2016 at 11:44 am in reply to: Add translation for "Leave a comment" and "% Comments" links on top of posts #86178Mahesh
MemberHi @hugodebe,
I recommend you to use other method than to change the theme’s core code for translation. You will need to create
pt_BR.poandpt_BR.mofile fromclean-box.pot. I downloaded thept_BR.pofile from the link you’ve provided and made it work as per theclean-box.potfile by copying the header inpt_BR.pofile fromclean-box.potfile. Then selected Brazilian language in Dashboard=> Settings=> Site Language, and all of the above strings is being translated to Brazilian. You can use poedit for editing .po files and .mo file will be automatically generated.
Let me know if any problem.Regards,
MaheshMahesh
MemberHi @tatsujin,
I thought you meant home slider. 🙂 Forget all of the code above that I’ve given.
For the custom widget created earlier, you have to modify some codes in child themes. In your child theme’s functions.php, find the following line:
add_action( 'simplecatch_child_before_content', 'simplecatch_child_homepage_slider_widget', 10 );
then change it to the following:
add_action( 'simplecatch_child_after_content', 'simplecatch_child_homepage_slider_widget', 10 );I assume, you have overridden the index.php and have this line just above the primary div’s closing.
<?php do_action( 'simplecatch_child_after_content' ); ?>Regards,
MaheshMahesh
MemberHi @ogremhdw,
Just checked your site and telephone and email address is being shown in both desktop and mobile devices normally. It seems to be working fine. Have you fixed it, or is it still not showing on yours?
Regards,
MaheshMahesh
MemberHi @micha,
Okay, now I’m seeing the image. For form fields to stick to the right, add the following CSS in “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box:
.page-id-5384 .mc-field-group { max-width: none; width: 100%; } #mc_embed_signup .mc-field-group { width: 100%; } #mc_embed_signup { clear: none !important; float: left; width: 50%; } @media screen and (max-width: 480px) { #mc_embed_signup { float: none; width: 100%; } }Regards,
MaheshMahesh
MemberHi @bia,
Yes, you can use widget instead of image in the header area, but you’ll need to create a child theme and do some coding (for adding and displaying widget). You can find more details on creating child theme HERE. If you are not much familiar with programming, I recommend you to hire a customizer.
Regards,
MaheshMahesh
MemberHi @spacer,
I’m glad to know your issue is fixed. Thank you for your appreciation.
Have a nice day!Regards,
MaheshMahesh
MemberHi @tatsujin,
I assume that you want the slider below main content and just above the footer. For that add the following code in your child theme’s
functions.php:function simplecatch_child_slider_below_content() { remove_action( 'simplecatch_after_headercontent', 'simplecatch_slider_display', 20 ); add_action( 'simplecatch_after_main_slider', 'simplecatch_slider_display', 10 ); } add_action('init', 'simplecatch_child_slider_below_content');Then create
footer.phpfile in your child theme’s folder and paste in the following codes.<?php /** * The template for displaying the footer. * * @package Catch Themes * @subpackage Simple_Catch_Pro * @since Simple Catch Pro 1.0 */ ?> </div> <!-- #main --> <div class="wrapper"> <?php /** * simplecatch_after_main_slider hook */ do_action( 'simplecatch_after_main_slider' ); ?> </div> <?php /** * catchthemes_after_main hook */ do_action( 'simplecatch_after_main' ); ?> <footer id="colophon"> <?php /** * simplecatch_footer hook * * @hooked simplecatch_footercontent - 15 */ do_action( 'simplecatch_footer' ); ?> </footer><!-- #colophon --> <?php /** * simplecatch_after hook * * @hooked simplecatch_scrollup - 15 */ do_action( 'simplecatch_after' ); ?> <?php wp_footer(); ?> </body> </html>Let me know if any problem.
Regards,
MaheshMahesh
MemberHi @calmo16,
The last CSS I’ve given you above will make the image logo non-responsive (width fixed to 220px) in devices with max-width of 768px and also put the logo in the center as you’ve mentioned. I just checked your site and seems that you’ve changed the logo and moved it below the primary menu.
Regards,
MaheshMahesh
MemberHi @calmo16,
Do you need responsive logo or non-responsive logo? Its confusing, please confirm first, then I can help you.
Regards,
MaheshFebruary 23, 2016 at 5:49 pm in reply to: Featured content, Text widget, Promoheadline, Languages #86113Mahesh
MemberHi @scubafreak,
Yes, I got the file and thank you.
It seems you’ve done 19% translation. The translation seems to work fine on our server. And to some extent translations in your site is working too for example: archives, categories etc. Try to complete the translation. You can refer to this link:
https://translate.wordpress.org/projects/wp-themes/adventurous/cs/default
After you’ve translated, please share you complete zipped theme.Regards,
MaheshMahesh
MemberHi @tatsujin,
Can you please share your code with which you are displaying the widget. We need to check where you’ve hooked the widget to. First it needs to be remove from previous hook then hooked to the desired position. And by below body content, do you mean to place it below the main content (primary, secondary) and just above the footer.
Regards,
MaheshFebruary 23, 2016 at 5:01 pm in reply to: Featured content, Text widget, Promoheadline, Languages #86108Mahesh
MemberHi @scubafreak,
Can you please share the cs_CZ.po file that you’ve created for the theme.
Regards,
MaheshMahesh
MemberHi @calmo16,
I hope this will fix your issue with responsive header, logo size and distance between menu and content block. 🙂
Please add the following CSS in “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box:@media screen and (max-width: 768px) { #logo-icon, #logo-icon img { width: 220px; } #fixed-header-top #logo-icon { display: inline-block; } }Regards,
MaheshFebruary 23, 2016 at 4:37 pm in reply to: Featured content, Text widget, Promoheadline, Languages #86100Mahesh
MemberHi @scubafreak,
In my server there was no Czech language listed in my WordPress setting so I manually added cs_CZ.mo and po file and admin-cs_CZ.mo and po files. Then created cs_CZ.po file from adventurous.pot file with and edited with poedit which automatically genereate cs_CZ.mo file. And just for testing, I changed the string (Monthly Archive) to some other string(example: test language) and checked the frontend and the change was there, so it should work fine with yours too. Please post in your site url.
Regards,
MaheshMahesh
MemberHi @micha,
I checked your site before it crashed. The site is up again. 🙂
1. Remove space and change background to white:
You can fix it with Custom CSS. Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS:.page.page-id-5384 #main { padding-top: 0; } .page.page-id-5384 .site { box-shadow: none; } .page.page-id-5384 { background-color: transparent; }2. I don’t see the picture. Please clarify more.
Regards,
MaheshMahesh
MemberHi @calmo16,
You have a really long menu that is why there is an issue with responsive, you can use the following CSS to reduce the padding by a little. Go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box and add the following CSS:
@media screen and (min-width: 1200px) and (max-width: 1280px) { .clean-box-nav-menu a, .sidebar-header-right .widget_nav_menu a { padding: 13px 15px; } } @media screen and (min-width: 991px) and (max-width: 1201px) { .clean-box-nav-menu a, .sidebar-header-right .widget_nav_menu a { padding: 13px 10px; } }And for putting the image in the middle, add the following CSS:
#fixed-header-top #logo-icon { margin: 0 auto; float: none; display: block; text-align: center; } #fixed-header-top #logo-icon img { display: inline-block; }Regards,
MaheshMahesh
MemberAre you using any plugins, if yes, please try disabling the plugins one-by-one and check again. In our server the theme is working fine and so as the customizer. Let me know if the problem persists. Please post in your site url.
Regards,
Mahesh -
AuthorPosts
