Search Results for 'css'

Results from the Forum
michal
Participant
#0

Single image alignment center not working and custom css .wpb_single_image.vc_align_center {
text-align: center;
}

also not working

Any ideas what to do?

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

In Newspaper 6 depends on what Big grid do you use. Do you use Big Grid Slide? – http://demo.tagdiv.com/newspaper/big-grid-slide/
Please provide a link if you have issues with it, also you can try this customn css instead the above:

.td-big-grid-slide .td-big-grid-post-0 .entry-thumb {
width: 100%;
}

Thanks!

jonybigude
Participant
#0

I have just installed the last update of the version 6 on a brand new database and server. Everything was alright until I started to write custom CSS on the “Custom CSS”. The result is 0. No matter what I target and how I target, with or without !important, the changes will not take effect.

I am considering making my changes directly on the style.css file but I know this is not the best practice. Did I miss something or what is happening here? What~s the solution?

Thanks in advance!

julingn
tagDiv Member

Hi Alin,

thanks for the fast reply. Should the lists in posts also apply to the font size selected in the theme font for body? I just want the lists to be displayed in the same size as the rest of the content.

My posts use font size 13px, but my lists are using 15px and I just don’t know why. You introduced sooo many font settings in theme panel. Do I really have to use custom css to make the lists the same font size then the rest of the post?

regards,
julingn

jansena
Participant
#0

Hi, with newspaper v6 not all the files are being moved to the footer:
– contact-form-7-css
– google-font-rest-css
– js_composer_front-css
– td-theme-css
– jquery.js
– jquery-migrate.min.js

All those files are still in the header, only jquery.form.min.js, scripts.js, tagdiv_theme.min.js, comment-reply.min.js and js_composer_front.js) are moved to the footer.

What can I do to move alle the files to the footer? Shouldn’t it work?

Alin [tagDiv]
tagDiv Staff

Hi,

The font-family that you have set on body it is applying also on text or list from text block – http://screencast.com/t/Pq6Qmw88behttp://screencast.com/t/96fTxxqy
If you want to change the the font size for your lists in pages using a text block you will have to use custom css in Theme Panel > Custom Css: http://screencast.com/t/f25FdVZzi8k

.wpb_text_column li {
font-size: 20px;
line-height: 28px;
}

Also if you use a list in post content – http://screencast.com/t/tv0A6hxioc

.td-post-content li {
font-size: 20px;
}

Thanks!

pedropapito
Participant
#0

Ad Spaces could be optimized for Google DFP ads. I use this platform to manage ads for clients, but the theme does not work well with it. The banners are not centralized.

– To center the header, I had to enter the huge custom css:

.td-header-style-2 .td-header-sp-recs, .td-header-style-5 .td-a-rec-id-header > div, .td-header-style-5 .td-g-rec-id-header > .adsbygoogle, .td-header-style-6 .td-a-rec-id-header > div, .td-header-style-6 .td-g-rec-id-header > .adsbygoogle, .td-header-style-7 .td-a-rec-id-header > div, .td-header-style-7 .td-g-rec-id-header > .adsbygoogle, .td-header-style-8 .td-a-rec-id-header > div, .td-header-style-8 .td-g-rec-id-header > .adsbygoogle, .td-header-style-12 .td-a-rec-id-header > div, .td-header-style-12 .td-g-rec-id-header > .adsbygoogle {
width: 728px;
}

I do not know if I did right, but now is centered. The Sidebar Banner can not centralize. It does not work responsivity.

I appreciate if someone trouzer me a solution for this to work well! My site is http://www.clickcamboriu.com.br/.

Thank you!

Alin [tagDiv]
tagDiv Staff

Hi,

If you use the child theme you can try to make this change there in the modules folder > module that you want to change and the custom css you can paste it in Theme Panel > Custom Css: http://screencast.com/t/umCDttYYX
If you don’t have basic php/html/css experience I suggest to get someone to help you as we cannot provide any type of custom work at this time, sorry!

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Before update please backup the site (database and files) – https://codex.wordpress.org/WordPress_Backups

We recommend to remove theme via FTP and install the new one and also the plugins that come with the theme files, you can find them it in the theme package inside the Plugins folder – http://screencast.com/t/lkrma6blYE
After the update run the script included in the Welcome panel – http://screencast.com/t/eZxxuqvsTir running the script it will import old settings, change the shortcode like you can see in the documentation. The theme has more features(example- big grid on categories, smartsidebar) so you will have to set those mannually. Also the custom css may not work at this it should be regarded as a new theme(changed classes, ids).
And regenerate the thumbs – https://forum.tagdiv.com/using-the-theme-with-existing-content/

Also check the documentation here – https://forum.tagdiv.com/how-to-update-the-theme-2/

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

You can try this custom css for desktop screens where your logo width will be 340pxhttp://screencast.com/t/VDmWFNySES

@media (min-width: 1141px){
.td-header-style-1 .td-header-sp-logo {
margin: 28px 0px 9px 0px;
width: 340px;
padding-left: 0px;
}
.td-header-style-1 .td-header-sp-logo img {
right: auto;
}
}

Thanks!

Alin [tagDiv]
tagDiv Staff

Buna,

1. Se pare ca exista a problema pe safari pentru ca nu recunoaste css-ul, te rog incearca acest custom css:

.td-g-rec-id-content_top .adsbygoogle, .td-g-rec-id-content_bottom .adsbygoogle {
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
}

2. Se poate accesa forumul utilizand /forums in loc de /forumhttps://itutorial.ro/forums/
3. Ca sa fi sigur ca nu raman fisiere din vechea tema care ar putea afecta functionalitatea. noi recomandam sa fie stearsa vechea tema si uploadata noua versiune, pentru ca practic este o noua tema.
4. Nu stiu exact cum apareau inainte, dar poti incerca acest csshttp://screencast.com/t/ZaziYfPGnlXY

.td-footer-wrapper .widget_text .textwidget img {
width: initial !important;
}

Mersi!

Alin [tagDiv]
tagDiv Staff

Hi,

Please try this custom css to remove padding – http://screencast.com/t/ejFqz3rI

.header-style-3 .td-full-logo .td-grid-wrap, .header-style-3 .td-full-logo .container-fluid {
padding: 0!important;
}

Thanks!

Mark
Participant
#0

I’ve been using Thesis 2.x for years now, and I am finally making the switch to NewsPaper. On my main site I have over 500 posts with MANY of them are using <blockquote></blockquote> but I do not like the styling as much on NewsPaper.

I would prefer to use the Box Quote Center styling that I see on the demo.

How can I do a site wide change. I assume I would just change something in CSS? Just make a direct swap.

Let me know your thoughts.

michal
Participant
#0

Hi,

I have 2 problems after upgrading to newspaper 6 from 4.

1) Single image alignment not working and custom css .wpb_single_image.vc_align_center {
text-align: center;
} also not working
single image alignment not working

2) I put some html in footer text to add social icon to footer. I don’t know why but the icons resize to 228 width no matter what I put into html..
footer

regards
Michal

v1ktor
tagDiv Member

I couldn’t wait on a response, so I had to hack CSS for now.

Just drop this CSS into Visual Composer’s custom CSS on your homepage only, it’s under gear icon:

body.home .td-container {
width: 1086px;
}

That did the trick for me.

Steven
tagDiv Member

The theme is awesome and well put together and thank god no more whitespace and all that CSS Code i was using with V4,i’m very happy with the theme it look nice and easy to work with..Thanks Tagdiv

Daniel
Participant
#0

Hi,

When I update, all of my sidebars are there, but there are no content inside of them.

Also, the css settings for the different media sizes are gone.

Is this a problem with the update, or am I missing something? (I ran the import)

Thanks in advance,

Daniel

MrOrsh
tagDiv Member

So… delete old theme folder, put the new folder in there instead and press the button and everything will be done?

Forgive me for being suspicious but the guide gives no explanation to where it finds the old settings after everything is deleted, if the custom css is saved, if the font changes are saved or any other details.

Yes there is a general guide (the one you referred to) but it is not good enough. Sorry.

Specially the paragraph saying “After running the import script it may be impossible to roll back to the older version of the theme without a backup of the database!” makes me feel sketchy about updating.

Crabouille
Participant
#0

Hi,

Like many i’ve just moved to v6 and here is a little low priority issue i found.

I’m using menu 12 with the default blue color, when switching from desktop to mobile the header becomes black.

The Enable Top Bar doesnt seem to work (the bar is always displayed), there again, no big deal as it can easily be hidden via css.

ps : the new content blocks & footer are pretty cool

v1ktor
Participant
#0

Noticed that “quote center” is missing, but if you manually add it it works.

Riskdiver
Participant
#0

Hi. I have two questions if I may.

First of all. In order to show category on modules we use echo $this->get_category(). However, if you need to show both category and subcategory on module, what do you use and how?

I have tried :

<?php
$categories = get_the_category();
$separator = ' ';
$output = '';
if($categories){
foreach($categories as $category) {
$output .= 'term_id ).'" class= "cats" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '">'.$category->cat_name.''.$separator;
}
echo trim($output, $separator);
}
?>

It works fine, but only for the theme pages (authors, categories, search etc.). The modules just ignoring the php and do not show any category/subcategory on the pages created through visual composer.

Second question. In order to get rid of the title tool-tips I have used some JS snippets.

var imgs = document.getElementsByTagName('img');
for (var i = 0; i < imgs.length; i++) {
imgs[i].removeAttribute('title');
}
var alinks = document.getElementsByTagName("a"); for (var i = 0; i < alinks.length; i++) { alinks[i].removeAttribute("title"); }

Or

var titled = document.querySelectorAll('[title]'); // gets all elements with a 'title' attribute, as long as the browser supports the css attribute-selector
var numTitled = titled.length;

for (i=0; i<numTitled; i++){
titled[i].setAttribute('data-title',titled[i].title); // copies from 'title' to 'data-title' attribute
titled[i].removeAttribute('title'); // removes the 'title' attribute
}

They both work fine. However, after Ajax (load more, filters, mega menu etc.) they come back. So, basically JS resets after the ajax process. Is it possible to somehow implement JS so it works even after ajax?

Any help would be appreciated. Thank you in advance.

wpfan3751
tagDiv Member

Hi,

I still can’t edit the various elements in the blocks/modules on the home page. The only options available when I click the edit icon are: General (with extra class name), Design Options (with CSS box) and Responsive Options. None of the options (General, Filter, Ajax Filter, Pagination) to change these elements is available.

The side bar colors and footers headings are still not in sync. I can’t get my home page set up 🙁

Ing Geek
tagDiv Member

@albnaldo @Alin [tagDiv] Thanks . hide its what i looking for. Now works whit CSS. 🙂 Have a nice day

Alin [tagDiv]
tagDiv Staff

Hi,

Thanks @albnaldo!


@carvax
You can disable it from theme panel like @albnaldo suggested or if you want to hide it using custom csshttp://screencast.com/t/saVHZi60

.single .td-post-views {
display: none;
}

Thanks!

julingn
tagDiv Member

Problem is solved. For some reason I needed to move the css snippet to the top of my custom css changes.

Thanks for your help!

Viewing 25 results - 28,201 through 28,225 (of 33,436 total)