Perfect. That worked. Thanks a tonn.
Do I have to add a div container in the functions file? Because adding div class to image is not working. I added a div class “full-image’ to it and and added it to custom css. But the output is not full width image.
http://www.kalveda.com/2014/12/02/home-made-observatory-found-exoplanet/
One minor issue. I was using a plugin Media Credit for image credits. When I disable the plugin (or don’t use credit for in-house image), the dig tag is not attached to those image and they are no more working since you gave me code for ‘media-credit-container’
.media-credit-container {
left: 50%;
position: relative;
transform: translateX(-50%);
}
What should I use instead of ‘media-credit-container’ if not using that plugin?
Example:
http://www.kalveda.com/2015/01/30/uas-unmanned-aerial-system/
Thanks. That fixed everything that I needed. I think your devels can now offer a template similar to this one. I trust your customers will appreciate it 🙂
Please discard the previous comment. I was mistakenly using the same template 6 with side-bars enabled.
Thanks a LOT Alin for giving solutions so promptly. No surprise why I bought all three previous themes from TagDiv. Your support is par excellence.
@Alin: Thanks. Pure awesome. However, it breaks ad in other templates:
http://www.kalveda.com/2015/04/02/comcast-to-compete-with-google-fiber-offer-2gbps-internet/
@Alin: Excellent. We are almost there. One last issue remaining. The ads inserted in posts are now flowing wrong, as you can see in this post.
We are wrapping the ad in ‘ad1’ div. How can we fix that?
Thanks that’s real close to what I wanted. The only issue is that unlike the screenshot in my case the image is not aligned properly..
http://www.kalveda.com/2015/04/03/canyon-of-fire-seen-in-the-sun/
Thanks for your tip I used this to fix it
.td-container-border:after
{border: none;
border: 0px solid #000;
background-color:transparent;
border:none;}
.td-container-border:before{
border:none;}
I meant home page only and not from the other pages.
Thanks. That’s removing border only from the hope page and not from other pages/posts. The site in question is Linuxveda.com
@Alin Thanks, but it’s not helping because at most i can set the border color to be white to make it disappear. But if there are elements such as ads or images it has white line on it. So either I set the color to ‘transparent’ or set the border width to 0 in css file. So if you can tell me which CSS ID/Class it is I can do it.
Much appreciated.
@Chris S. I did have a back-up and have installed v 1.6. I just wanted to check that maybe there was a mechanism to go back to a previous version. Thanks a lot.
@Chris S yes I agree. The site is loading very slow now which is also affecting CPC on Adsense. From where can I download the older version?
Thanks. But I am not certain which code needs to be replaced. Thanks.
@emil G thanks! Much appreciated.
@kronos Thanks a lot. I tried and it looks as expected. The problem with this method is that it inserts short-codes in the post bodies and if we decide on changing themes in future, there will be a lot of ugly shortcodes visible to users (due to the WP Bakery Visual Composer) So a theme template will be a preferred solution. We burned ourselves before by depending too much on plugin based feature. That said your suggestion does help a lot.
-
This reply was modified 11 years by
arnieswap.
I noticed that the issue is also in Firefox and all other browser including Chrome. If the zoom is changed from 100% to 90% in FF and other browser the home page will break. In opera it’s broken at 100% but looks good above 110%. The site looks broken if zoom is under 100% in FF and other browsers.
Thanks. Expecting a fix.
A lot of my users are also complaining about the same. I commented the lines above but the smooth scrolling is still there. Looks like its calling from js/td_external.js as well?
Thanks @Christopher.
Yes, the issue is there. I added this css as for some reason div class/id added to ad code in Header Ad box don’t work. Also the css given by you didn’t work.
So I ended up changing this:
.header-content-rec {
height: 122px;
}
It did work, but I am not sure if that’s a good idea or if its breaking something else shomewhere.
Tahnks Lucian,
Tried but as you can see the ad is getting trimmed/cropped. The same issue that happens when ad goes in header area next to logo. How can I fix this as cropping Ads is not a good idea. Check the screenshot below:
https://drive.google.com/open?id=0B-ALfi5glBeCSzhnMUIzYmNZY0U&authuser=0
Thanks.
It was a plugin, removing plugin worked. Thanks for pointing out in direction of plugin.
Hi Marius,
That very well replicatable as there is a css property which creates line-height of 50px in sidebar which breaks it as showed in screen shot. Here is the default css property:
.single_template_2 .entry-title, .single_template_5 .entry-title {
font-size: 35px;
line-height: 50px;
margin-bottom: 14px;
margin-top: 0;
}
You don’t see on themukt because I edited the css to force 21px line height in side-bar. My changes.
.td_mod3 .entry-title a, .td_mod3 .entry-title {
font-size: 15px !important;
line-height: 21px !important;
position: relative;
}
