hzlateska
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sinatra] Shortcode on archiveAt the moment this is possible only by modifying the a template file through a child theme. The file that should be modified is “template-parts/content/content-none.php”. Add your content below this code:
printf( '<p>' . wp_kses( __( 'Sorry, no results were found. Please try again with different keywords.', 'sinatra' ), sinatra_get_allowed_html_tags() ) . '</p>' ); get_search_form();
Next theme update will have an action hook that you can use to add content without modifying the template files.
Forum: Themes and Templates
In reply to: [Sinatra] Change main footer to a single columnHello,
Choose any layout, add widgets to “Footer 1” widget area in “Appearance ??Widgets” and then add this code to “Appearance ??Customize ??Additional CSS”:
.sinatra-footer-column { display: none; } .sinatra-footer-column:first-child { display: block; } #sinatra-footer .sinatra-footer-column { flex-basis: 100%; max-width: 100%; }
Hello,
Thanks for reporting this issue. We will release a new theme version that will fix this problem.
Forum: Themes and Templates
In reply to: [Sinatra] Creating child themeHello,
You can use this code in the Child theme functions.php file:
<?php /** * Sinatra Child Theme functions. * * @since 1.0.0 */ /** * Define Constants. */ define( 'SINATRA_CHILD_THEME_VERSION', '1.0.0' ); /** * Enqueue and register scripts and styles. * * @since 1.0.0 */ function sinatra_child_enqueue_styles() { wp_enqueue_style( 'sinatra-child-styles', get_stylesheet_directory_uri() . '/style.css', array( 'sinatra-styles' ), SINATRA_CHILD_THEME_VERSION, 'all' ); } add_action( 'wp_enqueue_scripts', 'sinatra_child_enqueue_styles', 15 );
Forum: Themes and Templates
In reply to: [Sinatra] Default Sidebar only on homepageHey,
What did you select to be your homepage in Settings ??Reading ??Your homepage displays?
Forum: Themes and Templates
In reply to: [Sinatra] Sinatra footerHello,
It looks like you added separate text widgets for each line in your footer column. Each text widget has a bottom margin of 40px and it’s creating the spacing you’re referring to.
You can remove the spacing with this CSS snippet:
#sinatra-footer .sinatra-footer-column .si-widget.widget_text:not(:last-child) { margin-bottom: 0; }
Add the code to Appearance ??Customize ? Additional CSS.
Forum: Themes and Templates
In reply to: [Sinatra] single product page issueForum: Themes and Templates
In reply to: [Sinatra] Responsive background image for mobileHi @jessicaholroyd,
You can control that with CSS media queries. Add the following CSS code into the Additional CSS field in the Customizer:
@media screen and (max-width: 960px) { body.page-id-339 { background-position: 20% center; } }
Feel free to adjust the values. For example, you can change the breakpoint (960px) to any value that you want. This means that the CSS will be applied on screens smaller than 960px. For phones only you’d probably want to use something smaller.
You can find more info about
background-position
values here.Additionally, you can also add
background-size
. More info here.Thanks!
Forum: Themes and Templates
In reply to: [Sinatra] Sidebar customizationHey,
These questions are not theme related, you should ask Easy Sidebar author about these, but I’ll try to help as much as I can ??
1) If there isn’t an option available in the Easy Sidebar plugin, you should be able to remove the bottom border with this CSS:
#page .widget_easy_sidebar_menu_widget li.menu-item { border-bottom: 0; }
2) You can use the same selector for making the text bolder and bigger:
#page .widget_easy_sidebar_menu_widget li.menu-item { font-weight: 600; font-size: 16px; }
3) This really isn’t something I can help you with. The functionality of the sidebar is completely controlled by the plugin and not the theme.
I hope that helped at least a little bit.
Thanks!
Forum: Themes and Templates
In reply to: [Sinatra] php v.7.4?Hey @2020historytrust,
Sinatra requires at least PHP version 5. That’s the minimum required PHP version.
The theme works fine with PHP 7.4, in fact we are running our demo site on PHP 7.4.2.
I believe your issue is not theme related so you may want to check your plugins or your PHP modules or Apache configuration.
Thanks!
Hi Adem,
That’s weird because it works fine on my end. You can actually try here: https://demo.sinatrawp.com/travel-blog
Have you tried to disable other plugins to confirm that the issue is coming from the theme?
I can take a look into that for you if you send me your website URL.
Thanks!
Forum: Themes and Templates
In reply to: [Sinatra] Top Bar heightThe minimum height is limited by the content inside of the top bar. You could change the font size of your text if you want to make it even smaller.
Forum: Themes and Templates
In reply to: [Sinatra] Moble Dropdown Navigation Not VisibleHey @whitneylew,
Try adding the following CSS code into the Additional CSS field in Appearance ? Customize:
.is-mobile-menu-active #masthead { z-index: 999; }
Let me know if that helped.
Thanks!
Forum: Themes and Templates
In reply to: [Sinatra] White Space Below HeaderThere is an option for that (bottom border) in Appearance ? Customize ? Header ? Main Header ? Design Options ? Border and set “Bottom” to 0.
If you like the theme and have a minute of your time, please leave a review of Sinatra theme. That’d mean a lot to us ??
Thanks!
Forum: Themes and Templates
In reply to: [Sinatra] White Space Below HeaderThat seems to be coming from the page builder you are using, you can try this for that very specific case (on your front page):
#panel-99-0-0-0 p { margin-top: 0; }
Add the CSS code to Appearance ? Customize ? Additional CSS.
Thanks!