Search Results for 'css'

Results from the Forum
simchris
tagDiv Member

For those who need to move the style.css to footer for above the fold critical CSS setup,

see this thread

https://forum.tagdiv.com/topic/help-moving-style-css-and-fonts-googleapis-com-to-footer/

options include
a) use speed booster

b) de-enqueue the style.css
c) manually put style.css link in footer.php

gmaio
tagDiv Member

Hi Andrei,
now google DFP “responsive” banner works as you can see here http://wp-dev-ntr24-31ba64cdf656650e14f1f97f34ac243d.ntr24.tv/. Actually, is not a really “responsive” behaviour because it doesn’t adapt the banner size as soon as the browser width changes but, it fetches the right banner size on the page load on the base of the detected browser viewport width. So that, on an Iphone 6 for instance, it loads correctly the 320×50 rather than the 728×90 as would load on a PC screen. The problem of banner sqeeze was your custom CSS code

.td-header-container{ top: 95px; margin-top: 0; }

used to make cliccable the upper part of the skin.
So what could be a the trade-off solution that both make cliccable upper part of the skin and doesn’t cause the banner squeeze problem?
Thanks a lot for your kindness and support on this unexplorated field 🙂

Giuseppe

Andrei L.
tagDiv Member

Hi

We recommend adding the css in theme panel > custom css field because it’s a easier way to do it then in style.css file and also the code will remain there when the theme it’s updated.

Use this css to correct the scroll down a bit the post’s content: http://screencast.com/t/n3A8EBt0g

.td-container{
top: 95px;
}

Thanks!

Bogdan B.
tagDiv Staff

Hi,
Unfortunately the newspaper theme does not allow a full image because the container has a maximum size of 696 pixels..
If you want to have a bigger image than this, it can only be done with custom code. This involves adding an extra class to the image like so: http://screencast.com/t/mBspliL44v and then you can use this custom css:
.myclass {
position: relative;
left: -47px;
max-width: none !important;
width: 784px !important;
z-index: 1;

You can add the code in the theme panel – custom code box so every time you add the class to an image, it will get these parameters.
Thank you!

Andrei L.
tagDiv Member

Hi

Replace all css with this one, now the border should be displayed fine:

@media(max-width: 768px){
.td-menu-mob-open-menu .td-mobile-nav-wrap{
width: 100%
}
.td-menu-mob-open-menu .td-content-wrap {
left: 100%;
}
.td-header-style-9 {
border-bottom: 3px solid #D60D0D;}
}
}

Thanks!

Andrei L.
tagDiv Member

Hi

You can move theme’s css and google fonts in footer by adding this code in td-speed-booster.php file: http://screencast.com/t/3wlizASZysUv

$this->move_style_to_footer_queue('td-theme');
$this->move_style_to_footer_queue('google_font_open_sans');
$this->move_style_to_footer_queue('google-fonts-style');

We didn’t moved theme’s css at page bottom automatically because in this case there appear a delay with the style on page load. If you move the main css in footer the page’s style will be applied only after the html it’s loaded.

Thanks!

Andrei L.
tagDiv Member

Hi

Try this css in theme panel > custom css: http://screencast.com/t/4IfnZqMAhZcw

.comments{
position: relative;
}

Thanks!

gmaio
tagDiv Member

Hi Andrei,
using the site after the your proposed modification of the CSS custom code which seem to work fine at first glance, we have noticed that it unfortunately causes bad side effects on the new created posts because it cuts off the upper side of the posts (please see http://wp-dev-ntr24-31ba64cdf656650e14f1f97f34ac243d.ntr24.tv/2016/03/23/benevento-alla-camera-di-commercio-la-presentazione-del-giro-ditalia-day-2/) or its screenshot http://screencast.com/t/LZrwkKOTgq:
as you can see, some part of the post title is cutted off because the post itself appears to be shifteed upwards therefore hiding some part of the post frame.
The complete title of the post is instead http://screencast.com/t/oXahLMMy0rqQ.
What could be wrong?
Thanks in advance for any appreciated help.
Giuseppe

TheRiz
tagDiv Member

Thanks for the reply. I implemented this CSS and the menu is now centered, however it does not appear in-line as it does in the screencast.

This is not a big deal however, I can try to figure that out later if it’s too much trouble.
Thx

Bogdan B.
tagDiv Staff

Hello,
At the moment, there is no difference between the mobile version and the desktop version of our theme. There is no option to change content based on the device used. It can be done with a bit of css if you want. You will need to add an extra class to the latest articles code like so: http://screencast.com/t/736ZoMZatS
Make sure you set your sidebar to none: http://screencast.com/t/Y3UVEVcvie (you can still use a sidebar by splinting your visual composer rows in a 2/3 and 1/3 layout)
Now you can use css to target the latest articles and hide it for desktop and tablets:
@media (min-width:767px){
.mycustomclass{
display:none!important
}
}

Thank you!

gmaio
tagDiv Member

Hi Andrei,
thank you very much indeed: background skin and mouse pointer shape now work perfectly and as expected! Just one question: why do you advice to insert the custom CSS code by means of the theme panel rather than adding it directly in the Newsmag style.css file?
May be adding it by means of theme panel will preserve it from overwriting on theme update?
Thanks in advance for any appreciated and precious help.

Giuseppe

Andrei L.
tagDiv Member

Hi

Try this css in theme panel > custom code > custom css: http://screencast.com/t/dkN1ivSk

@media(max-width: 768px){.td-mobile-nav-wrap{
width: 100%
}
.td-menu-mob-open-menu .td-content-wrap {
left: 100%;
}
}

Thanks!

Catalin
tagDiv Staff

Hello Mayapur Voice,

Unfortunately, our theme does not have such an option to offers you a possibility to set different background image for your each page. If you want to achieve this, you have to use a bit of CSS code and insert the different image for each page with page ID. Also, you have to use background-image attribute for achieving that. Below I gave you an example of one page.

The code is ->

.page-id-951 .td-main-content-wrap, .page-id-951 .td-banner-wrap-full, .page-id-951 .td-header-menu-wrap {
background-image: url('http://wowslider.com/sliders/demo-5/data/images/saarschleife.jpg');
background-repeat: no-repeat;
background-size: 1920px 1080px;;
}

Consult here http://screencast.com/t/xPK02pMJwb and see how you can get the page id.

Please notice that you need some additional customizations after this code that involves custom work. If you want to display more levels in our theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide customization services at the moment, sorry!

Thank you for the message!

simchris
tagDiv Member

for style.css

try
function custom_dequeue_stylesheet() {
wp_dequeue_style( 'theme-style' );
}
add_action( 'wp_enqueue_scripts', 'custom_dequeue_stylesheet', 99 );

orlando
Participant
#0

Hi,

you can move in the footer style.css and fonts.googleapis.com, in order to increase the speed according Page Speed.

“Delete JavaScript and CSS that block the view to the above-the-fold content”

I await your news about

horinoskos
Participant
#0

Please advise how to change the post title size (home page and category) with css override for newmag.
Through the theme fonts is not working????

http://www.screencast.com/t/H4xfOOyy
http://www.screencast.com/t/ctYFiUe7B
http://www.screencast.com/t/s9Yq5zXr
http://www.screencast.com/t/07f7U4qP

thanks in advance
Kostas

simchris
tagDiv Member

Main issues are

a) search remove any alignment tags from WP like on paragraphs which should have been CSS classes

b) look for weirdo iframe syntax errors, as some of those not sure how to fix

c) make sure anything loaded from external locale is https (like YouTube, any “embeds” of ANY kind …)

the AMP plugin, + Yoast SEO, + Yoast ‘glue’ plugin can fix some stuff in meta, but NOT stuff in the content.

btw, if you’d like to syndicate some of our national news (from @send2press) let me know 😉

Andrei L.
tagDiv Member

Hi

Try this css in theme panel > custom code > custom css: http://screencast.com/t/zti5r7nxN4D

.td-header-style-5 .td-header-row{
width: 1021px;
margin-left: auto;
margin-right: auto;
}

Thanks!

Andrei L.
tagDiv Member

Hi

You can use a css like this one:

.td_block_big_grid .td-module-thumb a:before, .td_block_big_grid_2 .td-module-thumb a:before, .td_block_big_grid_4 .td-module-thumb a:before, .td_block_big_grid_5 .td-module-thumb a:before, .td_block_big_grid_6 .td-module-thumb a:before, .td_block_big_grid_7 .td-module-thumb a:before {
background: transparent !important;
}

This code will target all grids except big grid 3.
Thanks!

Andrei L.
tagDiv Member

Hi

Try this css in theme panel > custom code > custom css:

.td-header-container{
top: 95px;
margin-top: 0;
}

Thanks!

Bogdan B.
tagDiv Staff

Hello,
If the block 18 is on one column, then the image will be enlarged with css. This is the case with block 13 as well. They were not meant to display full width. The slide is the only element that has such a big thumbnail as seen here: http://screencast.com/t/x4yr1Oo5sfU (further down the page in that menu)
You could use a slide element with only one post and simply hide the arrows with css like so:
.home .prevButton, .home .nextButton{
display:none!important
}

Hope this helps.
Thanks.

Glitched
Participant
#0

Hello TagDiv team,

I am using the below CSS to target the Big Grid Wrapper’s module thumb.
Is there a way I can target a specific style? I can’t find a workaround.

.td-big-grid-wrapper .td-module-thumb a:before {
background: transparent !important;}

At the moment, this is targeting all big grids, but I want to exclude Big Grid 3.

Please let me know if there is a way around this?
Thank you!

Bogdan B.
tagDiv Staff

Hello,
For the font, if you change it with css you need to inspect every place you want to change it (use the browser inspector) as not all places are ‘p’ elements.
As for the h1 link, you will probably need to contact the plugin author and let him know of the issue. Try to switch to a wp default theme to see if the link still goes to the wrong address.
Thank you!

MrOrsh
tagDiv Member

Hi,

I disabled all the plugins (also updated Visual Composer to the last theme-included version) but no change.

I think the font size problem is due to the fact that i still have to use a css-hack to actually target the paragraph (p) settings under the individual pages, like:
.page-id-81 p {font-size: 12px !important;}
– if my forum page has 81 as the id-number.

This has been an issue since i brought the theme about a year ago (have had to do it on my contact-page for example). It only applies when using Visual Composer since the divs being created by it seems to be uneffected by the regular page paragraph setting.

As for the link on the H1/Title being incorrectly set to the bottom-most forum I have no idea what can cause. I disabled the whole H1-tag with:
.bbpress .td-page-title {display: none !important;}
Not an ideal solution, but at least it works.

Any more ideas on this?

kognitoweb
Participant
#0

Hi,

I wanted to use your tagdiv Gallery for image galleries inside the post. I have smaller width for my posts and assumed the gallery would automatically fit the images to the width but it doesnt. I tried to fix it via CSS but it doesnt seem to be very adaptive. What do you suggest to make it adaptive for my layout?
Here is a screenshot: http://prntscr.com/aieix3

Viewing 25 results - 23,626 through 23,650 (of 33,436 total)