Qaiser
Forum Replies Created
-
Hi,
By looking at the screenshot, it seems like you have customized the theme quite a bit. Please check with the developer who did the custom work.
Here the original theme.Thanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] Time and dateHi,
Standard PHP Date function has been used to display date which uses server’s time zone. I agree I would be better to use timezone from WP settings.
Please replace line 27 in header.php (<div class=”topdate”><?php echo date(‘l, jS F Y’); ?>) with below
<div class="topdate"><?php echo current_time('l, jS F Y'); ?>You can read more about current_time here.
I would add this in next update release.
Thanks,
Forum: Themes and Templates
In reply to: [Smart Magazine] Styling search resultsHi,
Please contact plugin author to get help with plugin functionality. We don’t support third party plugins.
You might need to hire a freelance developer to integrate plugins with your current website.Thanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] Stretched ImageAs I mentioned, you are using very small images like below one is just 204 X 671
https://i1.wp.com/www.powerrangersnow.com/wp-content/uploads/2017/01/3rd.png?fit=204%2C671&ssl=1
So if you don’t have large images you shouldn’t make them 100% width. Please add code below at the very end of your css file.
body .entry-content img { width: auto; height:auto; max-width:100%; max-height:100%; } body .featured_image img { width: auto; height:auto; max-width:100%; max-height:100%; }Let me know if you still have any issues.
Thanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] Stretched ImageHi
You are using a slider which is not part of the theme.
Also you are adding CSS without even knowing what it would do.
last, your images are very small, try to upload larger images in slider.To fix, add below in your css file.
body div.slideshow-window * img{ width:auto; height:auto; }All other images are responsive.
Thanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] Responsibe ImagesHi
I just checked, your site is working fine, all the images are responsive. Could you please tell what mobile are using? Did you change theme code?
Also, please load demo theme on your mobile and let me know if you see same issue?
http://demo.mag-themes.com/smartmagazineThanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] Loading content from template-partsRename page-event.php to template-event.php and test.
page-{slug}.php = page-event.php
If no custom template has been assigned, WordPress looks for and uses a specialized template that contains the page’s slug. More info here.To debug, add dummy text in:
1: template-event.php to see if you are loading correct template
2: content-page-events.php to see if you are loading correct content.Let me know if there is any issue.
Forum: Themes and Templates
In reply to: [Smart Magazine] Loading content from template-partsPlease follow these steps.
1: duplicate page.php and name it something like template-event.php add below line at the top of the page
<?php /* Template Name: Example Template */ ?>
You can read more about templates here2: Change this line <?php get_template_part( ‘template-parts/content’, ‘page’ ); ?> to <?php get_template_part( ‘template-parts/content’, ‘page-event’ ); ?>
and duplicate template-parts/content-page.php and rename newly created file to template-parts/content-page-event.php
You can add some dummy text to see if the correct template is loading. Here is the screenshot of the files.3: Assign you template to the event page from WordPress backend and update.
Thanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] Banner ad beside the LogoForgot to mention that you raised good points. I would add them in next Theme update which will be released in next 2 weeks. Hopefully it would help others.
Forum: Themes and Templates
In reply to: [Smart Magazine] Banner ad beside the LogoThank you for liking the theme. Here is the solution.
1st point – in header.php
1: Change <div class=”logo”> to <div class=”logo col-sm-4″>
2: And where this div <div class=”logo col-sm-4″> ends with </div> after it add below
<div class=”col-sm-8″>ADSENSE-CODE-HERE</div>
Replace ADSENSE-CODE-HERE with your ad code. You would need to adjust padding and margins as you like using CSS.2nd point: Add below css code at the end of style.css to make logo image responsive.
.main-header .logo img{
max-width: 100%;
}I didn’t test code but it should work. Do let me know if you have any questions.
Thanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] On mobile, page names are listed above the menuGlad you fixed it. I would add this in next update.
Thanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] Featured SliderPlease follow the guide – http://demo.mag-themes.com/docs/theme-installation-and-setup/
Forum: Themes and Templates
In reply to: [Smart Magazine] Didn't understand the setup guideHi
Please give us your site url.
Also did you set that newly created homepage as “front page” in settings?
Thanks,
QaiserForum: Themes and Templates
In reply to: [Smart Magazine] Images not responsiveyou just need to add below css at the end of style.css file
.single .featured_image {
text-align: center;
}
.featured_image img{
height: auto !important;
max-width:100%;
}Or simply wait for next update which I am going to release this week.
Forum: Themes and Templates
In reply to: [Smart Magazine] responsive menu issueMarking it as resolved.