.td-post-template-3 .td-post-featured-image img {
max-height: 700px;
width: 100%;
object-fit: none;
object-position: center;
}
try the above CSS. I know its not the real deal, but it does what you want, until tagdiv reply to your problem.
However this is not the optimal solution, nor it handles all situations like smaller images.
I believe tagdiv can only help us on that
You are very right….
I now understood your problem….
So infact it shouldn’t keep the aspect ratio, but instead it should crop like in the rest of the post styles….
Hmmm…. I thought it was a feature, but it looks like its a bug instead…… I will try to see if there is some option we haven’t seen so far, otherwise it should be answered by tagdiv….
Each image as I said is chopped in 15 variations.
For example the
http://demo.tagdiv.com/newspaper/wp-content/uploads/2015/04/8-1068×712.jpg
you pasted is a variation of the
http://demo.tagdiv.com/newspaper/wp-content/uploads/2015/04/8.jpg
-
This reply was modified 11 years by
neakriti.
Have you accidentally passed as featured image one of the pictures produced by the generated thumbnails? When you upload an image it generates 15 variations of that image so it can be used for small, medium, large thumbs.
The thumbnails are handled very nice no matter what the aspect ratio as long as your subject is not at one of the edges of the screen, but as centered as possible.
This is a search result in this test site that shows both images of the example links I gave you
http://mobile.neakriti.gr/neakriti2/?s=%CF%83%CF%85%CE%BC%CF%80%CE%B1%CE%BD
You see that even one is VERY portrait, and the other landscape they appear very nice as thumbs
On a setup I have on a very very slow old pc testing the new version of newspaper,
I show you with your pick of post template two articles.
One with a portrait and one with a landscape picture.
You will see for yourself that the specific post template, keeps the aspect ratio, while stretching on the width…
POST with portrait featured image
http://mobile.neakriti.gr/neakriti2/index.php/i-omorfia-tou-sympantos/
Post with landscape featured image
http://mobile.neakriti.gr/neakriti2/index.php/to-sympan-apo-to-mikrotero-sto-megalytero/
I understand what you describe, but to my knowledge so far, its just outputing what you give it
The problem is with your aspect ratio then.
The image will stretch horizontally, keeping the height in a relative size.
Therefore if that looks bad to you, try using more “wide” images.
There are many different post template options. You can always select one utilizing less real estate for your featured image.
I am not sure I understand your problem, but I haven’t had any problems so far disabling this check… However you should try disabling plugins and test. Don’t forget, when you apply this fix, you are pushing it to work in an environment it wouldn’t decide to work by itself. So disable a plugin, see how it works, if it continue, disable another plugin and keep testing until you detect the plugin that causes the issues. If you do, then post here the plugin that’s incompatible with speed booster, and have the theme authors examine it and maybe fix something in speed booster if they have to.
-
This reply was modified 11 years by
neakriti.
This has nothing to do with theme updates. You apply this to your theme panel on the Custom CSS section. No matter how many updates you do this remains the same and intact.
No, my bad, it doesn’t work 🙁
Anyway, tagdiv knows what they do, they’ll fix it for sure
1) If we add the line
@import url(“../Newspaper/style.css”);
at the style.css of the child theme
2) if we edit the functions.php file in the child theme and remove the lines
/* —————————————————————————-
add the parent style + style.css from this folder
*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style(‘td-theme’, get_template_directory_uri() . ‘/style.css’, ”, ‘6c’, ‘all’ );
wp_enqueue_style(‘td-theme-child’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘td-theme’));
}
then the child theme works ok with BigGrid… I don’t know if thats ok to do….
-
This reply was modified 11 years by
neakriti.
Yes, this fixes the problem when it comes to desktop screens. When reducing the width of the browser, the problem re-appears.
It would be nice if we had an out of the box fix for that problem in the next update.
No problem. At least you know why this happens.
TagDiv tries to check various plugins, and then add them to that list. Ofcourse there are thousands of plugins out there, so at some point you will have to edit these files, especially if you are using lots of third party plugins.
I just replied this few seconds ago at
https://forum.tagdiv.com/topic/speedbooster-still-have-plugin-issues/
Go to
Plugins->td-speed-booster->td-speed-booster.php
comment out the lines 74 and 75.
//define('TD_SPEED_BOOSTER_INCOMPATIBLE' , $active_plugin);
//return;
What actually happens, if speed booster doesn’t locate one of the trusted plugins its turned off. By commenting out these two lines you don’t check over trusted plugins list, therefore activating it anyway.
Thanx
Already made the first update to that plugin, versioning now as 1.1
With the update the plugin other than the “widget”, it provides a shortcode [CustomNewspaper6Login]
Using that shortcode anywhere in a post or a page, it does the same job as the widget, therefore you are not limited to use the login/logout functionality only from a widget, but anywhere in your theme.
The first post on that topic contains the updated plugin.
-
This reply was modified 11 years by
neakriti.
I will try to keep the plugin up to date with possible changes done to top-bar login until tagdiv provide sidebar login widget, and ofcourse as long as tagdiv is not opposed to such an “extra”, where in such case I have to give my appologies to the team and ask them to take down my post. My intention is only to help the community and give them something I did to help myself.
-
This reply was modified 11 years by
neakriti.
I’m glad this resolved your problem. I have to say that the new version of the theme is quite demanding…
At least if you provided something as simple as a one line text for widget (Same as topbar), that simply pops the login screen.
Also, I would like to inform you about a glitch on login I found.
If you select the connect/register option. Then go to “forget your password”, and then simply close the login window. Everytime you click the “connect/register” again its stuck on the forget password screen, it doesn’t show the login window, unless you reload screen with “F5”.
Therefore if you send the new password on the email and the user reset on some other browser tab, then the user won’t be able to login on the website, unless he reloads the page…
The top bar does not appear in all devices (phones).
How can we provide login access if not all devices support the top bar?
<ul class=”top-header-menu td_ul_login”><li class=”menu-item”>Connect / Register<span class=”td-sp-ico-login td_sp_login_ico_style”></span>
It shows the login info if inserted at some widget… But its not intelligent for disconnect, it has to be done with php…
It would be nice if you provided a login option for devices that don’t support top menu
The iframe above didn’t work on the post, so I repost here as a link