Search Results for 'move bottom ad'

    No search results were found in Documentation!

Results from the Forum
Bogdan B.
tagDiv Staff

Hi,

That is because you moved it from the header section. Everything you move from the default state will have consequences. You cannot adjust elements like that without compromise. If you want to control it again from the theme panel, you have to add the title back into the header. Or you can target it with css:
.single_template_9 .entry-title{
font-size: 32px;
line-height: 40px;
margin-top: 33px;
margin-bottom: 23px;
}

Add this code in the theme panel->custom css box and change the values to your preference.

Thank you!

Andrei L.
tagDiv Member

Hi

First remove this code from theme panel > custom css:

.td-big-grid-wrapper .td-module-thumb a:last-child:before {
background: linear-gradient(to bottom,rgba(25, 25, 25, 0) 100%,rgba(25, 25, 25, 0.7) 0%);
}

Then add this code: http://screencast.com/t/yAPFmhmWbW

.td-grid-style-5 .td-module-thumb a:last-child:before {
opacity: 0;
}
.td-grid-style-5 .td-module-thumb:hover a:last-child:before {
opacity: 0.5;
}

Thanks!

Bogdan B.
tagDiv Staff

Hi,
I’m not exactly sure what you men. Smartlist 7 already has article sharing above the pagination: http://screencast.com/t/HuZSOWtqTE8K
if you want to move the bottom article sharing above the smartlist pagination, this will be no easy thing as the smartlists are custom made and they do not qualify as a standard post. You will have to hire a freelancer to help out on this one if you truly need this customization.
Thank you!

Catalin
tagDiv Staff

Hello sid,

This implementation about Chinese characters should work as expected if the steps were correctly followed. Please ensure that you have done this and also please try to clear all cache and test it again.

Sorry that I have failed to respond to your second request…If you want to remove that border you have to use a bit of CSS code for this. Please try the code below and add it in Theme panel->Custom CSS area.

The code is ->

.td-header-style-8 .td-header-top-menu {
border-bottom:0!important;
}

The result you should see here -> http://screencast.com/t/AhMedtEq5ow

Hope this helps and let us know how it goes!

Thank you for the message!

gauravkohli
tagDiv Member

Hi Bogdan,

Thanks for your suggestions. We’re now using Super Cache & Cloudflare but still far from a decent load speed. I’m trying to add the below to the bottom of the file td-speed-booster.php but getting the error “Parse error: syntax error, unexpected ”); ‘ (T_CONSTANT_ENCAPSED_STRING)”. The position I tried to add this to was the line just below the line ‘new td_speed_booster();’

Please advise how to add the below to td-speed-booster.php without the error…

$this->move_js_to_footer(‘comment-reply’);
$this->move_js_to_footer(‘td-site-min’);
$this->move_js_to_footer(‘jquery-ui-widget’);
$this->move_js_to_footer(‘jquery-effects-shake’);
$this->move_js_to_footer(‘revmin’);
$this->move_js_to_footer(‘tp-tools’);
$this->move_js_to_footer(‘gmap_form’);
$this->move_js_to_footer(‘cfm_main_front_end’);
$this->move_js_to_footer(‘gmap_form_api’);
$this->move_js_to_footer(‘jquery’);

$this->move_style_to_footer(‘td-theme’);
$this->move_style_to_footer(‘js_composer_front’);
$this->move_style_to_footer(‘google_font_open_sans’);
$this->move_style_to_footer(‘google_font_roboto’);
$this->move_style_to_footer(‘google-fonts-style’);
$this->move_style_to_footer(‘rs-plugin-settings’);
$this->move_style_to_footer(‘contact_form_maker_frontend’);
$this->move_style_to_footer(‘jquery-ui’);

Regards,
Gaurav

Bogdan B.
tagDiv Staff

Hello,

You can use this css to remove it:
.td-comments-title-wrap {
display:none!important;
}
.td_block_related_posts{
padding-bottom:0px!important;
}
.td_block_wrap .td-next-prev-wrap, .td_block_wrap .td-load-more-wrap{
margin-bottom:0!important;
}

I also removed the extra space by reducing margins and paddings.

I hope this helps.
Thanks.

simchris
tagDiv Member

Well, the CSS and Java in the page helps it load faster by NOT having to load external sources and helps to deal with the above the fold loading, and mobile loading. Some things work better inline than external these days.

In other words, some CSS and JS “inline” loads faster for above the fold (render blocking …) vs waiting for the entire separate file to load, hence why this is now donw, which was crazy talk in olden days.

“Critical CSS” should be loaded with the page itself, then supported elements “later.”

Tricky!

I’ve stopped using some plugins due to the extra CSS crap included and no way to disable, or allow the plugin to “inherent” theme CSS (e.g., <LI> and <UL> stuff).

I also hacked one plugin to remove their CSS and just put it at bottom of the style.css and shazam.

I feel your pain; actually dealing with this right now on another project which is NOT using TagDiv themes due to a long boring story.

I really hate the form scripts which load the FORM CSS on every page and not just the actual FORM page. Requires creating custom page called “form” and then manually putting the CSS for plugin on THAT page vs having stupid if/then on every site page to NOT load it conditionally which is also dumb for resource queries.

AUGH!!!!! (damn kite eating tree!)

  • This reply was modified 10 years by simchris.
  • This reply was modified 10 years by simchris.
mr.ideally
Participant
#0

Greetings,

I run a website in which uses cometchat- an online chatting service. This service shows in a chat bar at the bottom of the screen, which allows users to interact with each other. The chat bar only appears to logged in users, so the website looks perfect when users are not logged in, but when users log in and the chat bar becomes available it distorts everything on the website. All of side panels merge together, topics and images are moved out of place, is there a way to lock this so when comet chat pops up it doesn’t force all of the information out of place?

Thank you.

doshi751
tagDiv Member

Hello,

Am I able to remove all the gradients from all the blocks and grid? I do not want any gradient on any of them. Also, how can I center the images instead of them being cut on the bottom for some of the blocks and grids.I want the images to be just centered in them.
Thank you very much for any help.

Thanks!

simchris
tagDiv Member

You can find my example mod page speed settings I believe in my long winded tutorial, or someplace in the forum history as we fully enabled this — using WP and Newspaper — back in Jan. 2014.

Note the mod_pagespeed settings should be optimized for WordPress; they are not “theme” specific. There are numerous tutorials online re setting up mod_pagespeed to work with WordPress you may want to look at, going back to late 2013, and mostly in 2014. There is some trial and error.

Upshot, it’s not theme related, but WordPress related.

For example, you should NOT use lazy load, not use minification other than comment removal and spaces removal, and ideally not use things that move scripts to bottom or top of page as theme already does that, as does WP.

Point being there is not one ideal “snapshot” of a config file for every server, and setup.

For example, you may want to put the path to a static folder location. Read docs on how to do that.

You may want to hook mod_pagespeed to connect to caching module on server, but you would need to actually work with your hosting provider to set that up properly.

Using mod_pagespeed with external resources is also tricky, such as CDN, where you need to put in lines to specify how that connects — if using cloudflare they should be able to help you with that.

Again, mod_pagespeed is *not* theme specific, but WordPress and Cloudflare setup should be addressed to the Cloudflare folk.

simchris
Participant
#0

Hi
we are pondering using the FB comments plugin generated from FB dev site (not WP comments ‘plugin’).

Trick is
a) putting the required div and javascript after body, ONLY on post template — not the header file … we use template 2 as default for posts

b) have to insert the function call for FB comments below the post — tricky with the single post file, single template file, and single loop file, for correct spot ( I tried and got server error, so obviously … duh …)

c) need to remove the “number of comments” element in the single post template, since it cannot count from the FB comments

d) in our version of theme we still get the “NO COMMENTS Comments are closed.” element at bottom of posts, so need to hide that, obviously.

Anybody who has done this with Newsmag would love some feedback on both how to hack this and also any performance issues (aware of the cookies and junk sent by FB, but with local comments on, we get no comments; with Disqus on we get comments, but some folks hate that — so, FB comments getting more and more common, so thought we’d try it …)

Thanks all! 🙂

Catalin
tagDiv Staff

Hello sid,

This issue is known when using CDN or loading fonts from a different source.
Take a look at this: http://screencast.com/t/AMjW530CSH6 and this: http://screencast.com/t/dLjEUGGwQUZ
The solution to this issue is simple. You will need to add some code to your .htaccess file like this post suggests: https://forum.tagdiv.com/topic/strange-chinese-symbols-replaced-icons-and-arrows/

For your second request, if you want to remove the border between the top bar and main menu, please try the code below and add it in Theme panel->Custom CSS area.

The code is ->

.td-header-style-8 .td-header-top-menu {
border-bottom:0px;
}

The result you should see here -> http://screencast.com/t/3tRmZyw5k

Hope this helps and let us know how it goes!

If is not what you mean, please provide more details about your desired changes so I will be able to provide a more accurate response.

Thank you for the message!

Andrei L.
tagDiv Member

Hi

The theme code was tested and optimized for best performance, we have a lot of clients and the theme works well on a large variety of hosts.
First please make sure that you use the recommended server configuration for Newspaper theme, you can check our documentation for more details: https://forum.tagdiv.com/newsmag-requirements-for-newsmag/
There are lots of factors that influence the site’s page-sped. I suggest you first try this without any other plugins active, leave just VC plugin active the check again. To improve the loading speed look the mysql query cache: http://dev.mysql.com/doc/refman/5.1/en/query-cache.html we also use it on our demo.
Also you can use the speed booster to move the js and css at the bottom of the page, eliminate render-blocking, but not for all plugins. Check the System Status if the speed booster is active if you use other plugins than the tested ones. You can find some useful information regrading speed booster usage in this topic: https://forum.tagdiv.com/topic/speed-booster-questions/
Also you can read this guide, it may help – https://forum.tagdiv.com/how-to-make-the-site-faster/

Hope this help.
Thanks!

ned4spd8874
tagDiv Member

Problem is if I remove most of those plugins, I loose functionality.

Jwplayer: Yes, I actually have a plan to get rid of this. I’ve been phasing it out, but there are about 40 old posts that still use it.

Jetpack: Have only about 11 of it’s modules activated. Otherwise, I’d have to install more plugins.

KK Star Ratinig: Used to allow visitors to vote on how they liked the film. Newspaper can’t do this.

WPPolling System: Allows for visitors to vote on if 3D/IMAX were worth the extra cost.

GTranslate: Been on the fence if I should get rid of this or not. It is activated and working. A majority of visitors are from the U.S., but there are a surprising amount that come from other countries.

WP Touch: That’s what serves the mobile view for visitors. Not going away.

Contact Form 7: Don’t remember why I have to use this instead of the Jetpack module. There was some issue with it not working as expected.

WP-PostRatings: Allows visitors to vote on if the during/after credit scene is worth sticking around for or not. Again, Newspaper can’t do this.

Ad Rotate Pro: Serves my advertisement. Paid for it and it works well, don’t really want to get rid of it.

Social Media Feather: Adds the share buttons to the top and bottom of posts. Can’t find a way for Newspaper to do that.

Bogdan B.
tagDiv Staff

Hi,

1) In order to get rid of the margin, you can use a bit of css:

.home .td-a-rec-id-custom_ad_1 > div, .home .td-a-rec-id-custom_ad_2 > div, .home .td-a-rec-id-custom_ad_3 > div, .home  .td-a-rec-id-custom_ad_4 > div, .home .td-a-rec-id-custom_ad_5 > div{
margin-bottom:0!important
}

2) In order to limit the width of the ad on the category pages and remove the spacing and title/breadcrumb you can use this code:

.category .g-single{
width: 1068px!important;
}
.category .td-a-rec-id-custom_ad_1 > div{
margin-bottom:0!important;
}
.category .td-crumb-container{
display:none!important;
}
.category .td-category-pulldown-filter{
display:none!important;
}
.category .td-category-header .td-page-title{
display:none;
}
.category .td-category-header{
padding-bottom:0!important;
}

3) In order to get the post ad above the content and the sidebar, you will need to edit the theme files and use a do_shortcode function inside the post template you want the ad to be displayed in. For example you can use a theme custom ad 1 spot and add this shortode in each of the loop files coresponding to the post styles you use:
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Ad this code to the very top of the loop file like so:
http://screencast.com/t/76hTfIICn6kS
Make sure you have an ad placed in custom ad 1 .

I hope this helps.
Thank you for your message!

elvinf
tagDiv Member

Hi Andrei,

1 – A. Thanks for the CSS tip. I made the modifications and the ad is no longer over the buttons
B. Re: The ad widget under the share buttons. The widget code on that page was inserted into the theme panel “Article Bottom Ad” I moved the ad spot to below the share buttons using the instructions giving to me in this post. https://forum.tagdiv.com/topic/pagination-buttons/

4. To display the pagination above the article button add you need to remove the the ad from post content: http://screencast.com/t/PWgzx852 then place the ad after the pagination function in posts’s template file, like this: http://screencast.com/t/pgCbyqSPF You can use the do_shortcode(‘ ‘) function and insert the ad shortcode from VC: http://screencast.com/t/W4SFKPnoShnhttp://screencast.com/t/lqaJxdVdMee in every post template files coresponding for the post templetes used.

The article bottom ad is visible on non paginated post and on this paginated post: http://bit.ly/1PB9HQf but no on this one http://bit.ly/1nObbMO. All plugins are disabled.

Andrei L.
tagDiv Member

Hi

Note that the Speed Booster plugin disable itself when an incompatible plugin it’s installed. We added this measure to avoid conflicts with the plugins that won’t allow to move their CSS/js resources at page bottom. To keep it always activated comment or delete the indicated lines from td-speed-booster.php: http://screencast.com/t/RZLIOPUNdqh You can check this topic for more information about speed booster usage: https://forum.tagdiv.com/topic/speed-booster-questions/

Hope this help.
Thanks!

Bogdan B.
tagDiv Staff

Hello,
Unfortunately smartlists remove article inline/bottom/top ads. This is the way the smartlists were built. You can hower use the smartlist ads from the theme panel: http://screencast.com/t/QemDkemj7 or you can use a shortocde to insert an ad inside a list like so:
http://screencast.com/t/byQVxlbb5aR then http://screencast.com/t/bfJgj4f9HGv
And then you can insert the shortcode inside your smartlist: http://screencast.com/t/B152usIAPu
Thank you!

Catalin
tagDiv Staff

Hello yycnow,

If you want to remove that white space, you have to use a bit of CSS. Please try the code below and add it in Theme panel->Custom CSS area.

.td-main-content-wrap {
padding-bottom: 0;
}
.td-cars .td-black-row {
margin-bottom: 0px !important;
}

The result -> http://screencast.com/t/WE0gNLWi

If you want to have the different color for each page, you have to target it by page ID.

..page-id-3551 .td-main-content-wrap {
background-color: black;
}

The result -> http://screencast.com/t/MkuqlcmWe

Please notice that you have to do some customizations to give a good look.

Hope this helps!

Thank you for the message!

gaby
tagDiv Member

Hi,
we followed that kind of process to move the entire site to https.
If you check a random page like https://www.aerospatium.info/un-marche-en-plein-essor-mais-plein-dincertitudes/ you will see that:
– on page load, there is no http warning (every ressources are properly linked)
– if you click bottom on “Plus de l’auteur”, the articles thumb will be ajax loaded and include with src as http (and thus security warning)
Thanks a lot for your time.

Catalin
tagDiv Staff

Hello @Albert, before you change the root parameters for your fonts, you have to remove your custom modification from your Custom CSS area to avoid the code duplication.


@gstern
, our Speed Booster plugin has been designed to work properly with some tested plugins, as you can see in this screenshot -> http://screencast.com/t/ojSRErqBEI8 Please note that the Speed Booster plugin disable itself when an incompatible plugin it’s installed. We added this measure to avoid conflicts with the plugins that won’t allow moving their CSS/js resources at page bottom. To keep it always activated comment or delete the indicated lines from td-speed-booster.php: http://screencast.com/t/RZLIOPUNdqh You can check this topic for more information about speed booster usage: https://forum.tagdiv.com/topic/speed-booster-questions/

Hope this helps!

Thank you for the message!

#0

Hello – Need a little help… I need to remove the padding around the main page content (top, right, bottom and left). I’m using visual composer.

See link:

https://www.dropbox.com/s/kjoaxah1n9kcayh/RemovePadding.png?dl=0

Thanks!

IC

Alin [tagDiv]
tagDiv Staff

Hi,

You can use custom css in Theme Panel > Custom Css to decrease or remove the default bottom padding – http://screencast.com/t/KaswdvYG1

.td-main-sidebar .td_block_3 .td_module_1 {
padding-bottom: 0;
}

There is a section in Theme Panel > Theme Fonts where you can set the font on specific module – http://screencast.com/t/MEKKoGy9

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

1. You can add a custom ad for the post template that you use, just edit the file and use do_shortcode function – http://screencast.com/t/0pSIpUWyHe

<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>

There are many topic about how to add a custom ad, as reference:
https://forum.tagdiv.com/topic/move-the-bottom-article-ad-spot-below-the-share-bar/
https://forum.tagdiv.com/topic/move-bottom-article-ad/

2. You have an option to disable the top share buttons in Theme Panel > Post Settings – http://screencast.com/t/U6oKOhxAp

3. The article bottom ad is added in the post content so it will be difficult to move it, the best way would be to use a custom ad instead, like on your first question and place it bellow the post pagination – http://screencast.com/t/rYW22HFj6tv

Thanks!

Catalin
tagDiv Staff

Hello rishab55555,

If you want to move your category description to the bottom of the page, just above the footer, you have to alter a bit the code. First of all, you have to comment/delete this code, according to category template used by you, to avoid having the twice description. For example, if you use category template 3, you have to delete this code -> http://screencast.com/t/YLo1UlPb and then you have to add the code below in category.php file like this -> http://screencast.com/t/WtanSvvV

The code is -> http://pastebin.com/zzApDb7j

The result you should see here -> http://screencast.com/t/TAVP7m4K0c

Hope this helps and let us know how it goes!

Thank you for the message!

Viewing 25 results - 776 through 800 (of 1,205 total)