Search Results for 'css'

Results from the Forum
Lucian
tagDiv Staff

Hi Chris,

Please try this custom css:

@media (width: 768px) {
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
clear: none;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
clear: none;
}
.woocommerce ul.products li.product.first {
clear: left !important;
}
.woocommerce-page div.product div.summary {
float: right;
}
.woocommerce-page div.product div.images {
float: left;
}
}

We have also included this fix in the next theme update which will be available soon so you can also update the theme.

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately for the moment that option is not working. Sorry for inconvenience!

Please add an extraclass to the widgets that you want to hide on mobile view: http://screencast.com/t/039hipRp0MKt
And use custom css to hide them using @media(max-width:767px) like this: http://screencast.com/t/Ulkr6LN2ru

@media(max-width:767px){
.home .test{
display:none;
}
}

Thanks!

Lucian
tagDiv Staff

Hi,

Please use this custom css: http://screencast.com/t/x8ZESwZ7

.page .template6-header {
top: 700px;
}

.page .td-full-screen-header-image-wrap, .page.single_template_6 .td-header-wrap {
height: 700px !important;
}

Thanks

Lucian
tagDiv Staff

Hi,

First please make sure you enable the 7 days post sorting from theme panel: http://screencast.com/t/JmiihhnrcY
then view your posts a few times to start the counting for the last 7 days counter and check again, after doing this it should appear, like this: http://screencast.com/t/DQItOvcqRhu
You can leave the post view option enabled to keep track of you posts views and hide the views on posts via css, like this: http://screencast.com/t/tGJQgYQ1BI

.td-post-views span{
display: none;
}
.td-post-views .td-icon-views {
display: none !important;
}

Thanks

Lucian
tagDiv Staff

Hi,

I will also add this on our requests lists but as Emil also stated we have lots of feature requests on out list so we have to pick very carefully what we implement.
At the moment you can do it via css as you’ve also pointed. Please let me know if you need help with this.

Thanks

Alin [tagDiv]
tagDiv Staff

Hi

Please edit td_module_single.php and replace pinterest button with linkedin: http://screencast.com/t/MJCAKIyyGGt

<a class="td-social-sharing-buttons td-social-linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=' . urlencode( esc_url( get_permalink() ) ) . '&title=' . $this->title . '&via=' . urlencode( get_bloginfo( 'name' ) ) . '" onclick="window.open(this.href, \'mywin\',\'left=50,top=50,width=600,height=350,toolbar=0\');return false;"><div class="td-sp td-sp-linkedin"></div></a>

Then use this custom css in Theme Panel > Custom Css:


.td-social-linkedin {
width: 32px;
height: 32px;
background-image: url('https://media.indiacurrents.com/resources/resources/social-media/linkedin.png') !important;
background-repeat: no-repeat;
}
.td-social-sharing-buttons {
margin-right: 10px !important;
}
.td-sp-linkedin{
width: 32px;
height: 32px;
}

I’ve used an icon found on internet, but you can change it.
Result: http://screencast.com/t/fLzO6DTR

Thanks!

gouravgola
Participant
#0

Hello, i have already follow your these guidelines to speed up my site:
https://forum.tagdiv.com/page-speed-guide/

But still my score on google speed insight is 70 and 84 for mobile and desktop!
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.unbelievable-facts.com%2F

I have few questions please guide me:

1. it is showing i need to optimize CSS Delivery, i saw article about combining many css files to one, but i am not sure if it will be applicable in these 3rd part css below:
Optimize CSS Delivery of the following:
http://www.unbelievable-facts.com/…ontact-form-plugin/css/style.css?ver=4.1
http://www.unbelievable-facts.com/…ser/assets/css/js_composer.css?ver=4.3.4
http://www.unbelievable-facts.com/…content/themes/Newsmag/style.css?ver=1.2
http://www.unbelievable-facts.com/…alize/frontend/css/socialize.css?ver=4.1

first css is of contact form i am using, widget url is :
https://wordpress.org/plugins/contact-form-plugin/
please suggest me good contact form, which will not create any porb.

2nd css is of visual composer i guess, please suggest me its solution too.

2. Minify CSS for the following resources to reduce their size by 10.5KiB (16% reduction).

Minifying http://www.unbelievable-facts.com/…content/themes/Newsmag/style.css?ver=1.2 could save 9.1KiB (17% reduction) after compression.
Minifying http://www.unbelievable-facts.com/…ser/assets/css/js_composer.css?ver=4.3.4 could save 1.4KiB (13% reduction) after compression.

How can i compress them? please guide!

3.Minify JavaScript for the following resources to reduce their size by 4.8KiB (3% reduction).

Minifying http://www.unbelievable-facts.com/…assets/js/js_composer_front.js?ver=4.3.4 could save 2.1KiB (36% reduction) after compression.
Minifying https://www.gstatic.com/swiffy/v7.1.1/runtime.js could save 1.4KiB (2% reduction) after compression.
Minifying http://www.unbelievable-facts.com/…themes/Newsmag/js/td_site.min.js?ver=1.2 could save 775B (3% reduction) after compression.
Minifying http://pagead2.googlesyndication.com/…s/r20150122/r20141212/expansion_embed.js could save 512B (2% reduction) after compression.

How can i minify them? please guide?

And 1 more question, currently i am using dedicated server, should i try CDN? will it help improving page speed? if yes then how much?

Lucian
tagDiv Staff

Hi,

If you disable the post views from the Theme Panel – http://screencast.com/t/zNE0WcqP the counter will stop working. We’ll fix this in one of the next updates, until then you have to enable it and use the following css to hide the post views (add it in Theme Panel -> Custom CSS):

.entry-comments-views span{
display: none;
}
.entry-comments-views .td-sp-ico-view {
display: none !important;
}

Or comment/remove the lines from the code – http://screencast.com/t/CPhCfMXbQm

Thanks

Lucian
tagDiv Staff

Hi,

That is a category subindicator: http://screencast.com/t/ZLHRFMEX
You can see it live here: http://demo.tagdiv.com/newspaper/category/lifestyle/
You need to adjust your a bit, like this: http://screencast.com/t/bNYARebAL
Use this css:

.td-category-page-sub-ind {
border-left: 0px !important;
right: 18px !important;
}

Thanks

simchris
Participant
#0

Hello folks…
I know I was one of the people who complained about so many requests for WooCommerce fixes for Newspaper a year ago saying “who needs a shopping cart for a newspaper theme …. ” while waiting for initial development on v2 and v3 … soooooo …. 🙂

So, ironically, now that I’m using Newsmag for our ecom system (only for store, not for the entire site, in this case)…. I’ve run into couple of format quibbles with the tablet/iPad (iPad Air/Retina), so this impacts any iPad after iPad 3.

Three screen shots:
1) This shows how in portrait the body layout for the grid is apparently munched just a tad, when on a category page, so that third item drops to second row, and “runs into” item 4 which should start second row. Note in screen shot 3, at bottom of a product page, the items flow properly. Thumbs are 200×200 in the grid. Maybe 190×190 would work?
Newsmag WooCommerce Category Page

2) Similarly, on the product view page, the summary drops below picture due to couple of pixels expansion, as with the grid on the category view (image 1). Image is 307×307; perhaps 300×300 would fix?
Newsmag WooCommerce Product Page

3) This shows bottom of product page (screen 2); where oddly the three columns are not munched in the grid, while they are on the category page. Thumbs here same ones as category page at 200×200.
Newsmag Woocommerce product page, bottom

Any help on minor CSS tweaks for the two grids
a) product page: [image][summary]
b) category page [item1][item2][item3]

would be totally awesome!

Alin [tagDiv]
tagDiv Staff

Hi,

You can change header style to “Blog style – full text logo + menu” and I think that there wont be issues on moblie view. Any if you want to use Style 3 you can use this custom css:

To hide the main menu and place the search button on top for mobile view: http://screencast.com/t/Q2PImmCmYDWG

@media (max-width: 767px) {
#td-top-menu .sf-menu {
display: none;
}
.blog-stack #td-top-search{
right: -50px;
top: -75px;
}
.header-search-wrap .dropdown-menu {
left: -56px!important;
}
}

For tablets please use this custom css in Theme Panel > Custom Css: http://screencast.com/t/vMf2QV8vpxMx

@media (max-width: 1018px) and (min-width: 768px){
.blog-stack .sf-menu > li > a{
padding: 0px 5px 0px 5px;
}
.blog-stack .sf-menu a.sf-with-ul {
padding-right: 25px;
}
.blog-stack .sf-menu > li > a{
font-size: 12px;
}
}

Hope this helps!

Thanks!

fbengo
tagDiv Member

2. Please also add a way to change the wordpress menu title background color and text color in visual composer, because this is one of the few modules where you can’t change it 🙁

3. Please also add a way to enable/disable the footer border, because there is no border when you set the background color in the theme options panel to white.

I know how to do these things in css but these kind of features should be available in the theme settings panel, in my opinion.

Alin [tagDiv]
tagDiv Staff

Hi,

Please use this custom css: http://screencast.com/t/gDmzhr9r

.post ul.td-category {
float: right!important;
}
.post ul.td-category li {
float: right;
}
.post .entry-date.updated {
margin-right: 0px;
}

Thanks!

Lucian
tagDiv Staff

Hi,

I have tested this and work in the same way with each settings 1/2 columns:
1. http://screencast.com/t/FJar0ayhJ
2. http://screencast.com/t/MFoUn4WXc

The css which determines the width of the post content in the editor is tied to the dimensions of the html tag of the editor and based on those dimensions the screen width is detected and the content from the editor is styled (changed it’s appearance).
This depends of your desktop screen resolution as when the editors iframe/html drops under 1023 pixels of width the content from the editor is treated as on tablet screens even though it shouldn’t, this happens in your case also. I have managed to recreate this using your screens resolution and you are right: http://screencast.com/t/HTBYVGlI
As you can notice from the screenshot the html width is around 900px that is why the editor style switches to tablet view.
You can alter the code from the less files/editor style and change the media query to work right in your case, try something like this: http://screencast.com/t/FaTAqDk6
I’m not sure how this can be fixed but I will add this on our issue tracker list for further testing and try to find a solution for it.
Sorry for the inconvenience!

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately if you hide block title from settings, you hide also ajax next/prev pagination. Sorry for inconvenience.

If you want to hide the block 6 title on homepage please use this custom css and the pagination will not be hidden: http://screencast.com/t/6MLIzNNbbHHm

.home .td-page-wrap .td_block6 .block-title{
display: none;
}
.home .td_block6 .td-next-prev-wrap a{
top: -22px;
}

Or if you want to remove the title without border: http://screencast.com/t/v9hlIMxd

.home .td-page-wrap .td_block6 .block-title a{
display: none;
}
.home .td_block6 .td-next-prev-wrap a{
top: -25px;
}

Hope this helps!

Lucian
tagDiv Staff

Hi,

You can try to set you header to header style 3 then use the custom css from below to get this result: http://screencast.com/t/WPtJGwplM

@media (max-width: 767px) {
.td-menu-wrap #td-top-menu {
display: block !important;
}

#td-top-mobile-toggle {
display: none !important;
}
#td-top-search {
width: 40px;
position: absolute;
top: 0px;
right: 16px;
}
.header-style-3 .td-logo img {
position: initial !important;
width: 180px !important;
}
}

Please also note that the main menu hasn’t been designed to be used on mobile screens so you might need additional customization to it.
Regarding the second questions, in the customization above I have removed the mobile menu button as I believe you don’t need it anymore.
The icons is added using the background-image property via css: http://screencast.com/t/k6hyD03kHex You can also alter tit via css and change it or enlarge it.

Thanks

Lucian
tagDiv Staff

Hi,

A css code form our theme used just on this post template also applies to livefyre comments and adds an margin, you can use this custom css to fix this: http://screencast.com/t/mTq6vZIJYD5

.single_template_4 #livefyre-comments header {
margin-bottom: 0px
}

Thanks

Lucian
tagDiv Staff

Hi,

You can do this by altering the code for the “load more button” like this: http://screencast.com/t/vJqnn9jHI
Also add this custom css in theme panel > custom css filed:

.ajax-page-disabled {
display: none;
}

Thanks

simchris
tagDiv Member

Yeah.. there is some plugin we had, too, where it had simply named CSS, vs “unique” named CSS, and it conflicted with the VC plugin. SO, two different things were loading same time.

This is why “good” plugins will NOT load jquery AGAIN if already loaded by theme, and will ONLY use custom variables like “td_bunny-font” vs “bunny-font” 🙂

Always a fun time!!

simchris
tagDiv Member

Did you add the items to your htaccess file ? Doesn’t look like it.

You need to do EVERYTHING ELSE before messing with the speedbooster plugin customizations, which are optional and entirely up to you.

You need to take care of ALL the other issues EXCEPT for “render blocking CSS/javascript” first or the latter will do nothing for your site. That step is done LAST to get the last couple of points, not the 25-30 points you’re down right now due to all the other issues that ONLY YOU can manage.

Web server optimization is up to you, and is related to optimizing WORDPRESS, not the theme. Tech support here is for the THEME, and not to teach you how to manage your web server … folks here are helping on that as time permits, but you have to take the initiative to LEARN how to do that — WordPress has been around 10 years — lots of tutorials on the web. “How to optimize WordPress for best Pagespeed” … simple search in Google, for example.

And all the links in this thread — SHOW YOU a number of things you should do, but you need to do that.

Nobody ignoring you — you need to fix your own house, that is YOUR job to tackle.

You’ve read the docs … well, now you need to actually *do* some of the guidelines or they won’t work.

Fix your htaccess file; make sure you have compression running, and expiration headers; optimize your images; minimize external elements loading on your site; etc. — ONLY YOU can do that stuff. If it means nothing to you, then you likely will need to hire a developer to help you.

  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
Ken
Participant
#0

Visual composer’s main CSS file (js_composer.css) isn’t getting loaded on my site. I saw this post about adding custom CSS to compensate: https://forum.tagdiv.com/topic/buttons/

But I don’t want to use a workaround like that; I’d just like the .css file to get loaded. Will this be fixed in the next version? Thanks!

Lucian
tagDiv Staff

Hi,

I have also tested this on every screen width and found no issue:
* http://screencast.com/t/tYm1erJ3 (desktop)
* http://screencast.com/t/Gc7JpvwKoF1s (tablet)
This is influenced if you change posts content font size/family.. so I suggest you test this with the default font settings.

@daimpa
This could not work wheel in your case if you have removed the css code I’ve suggested at the beginning of this post so make sure that you take into account this aspect.

@Chris
I have added this on our issue tracker list and we will further investigate it and fix if we find something wrong with this and also consider adding an option for this.
Sorry for the inconvenience caused! Hope this helps!

Thanks

Lucian
tagDiv Staff

Hi,

If you disable the post views and ajax post views from theme panel the post views data will not be updated anymore so if the “popular” sort option would not be accurate.
If you don’t want to lose track of your posts count you can just disable the function from modules/post templates or just hide it via css: http://screencast.com/t/tBtJOjbnCs or via css using this css:

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

We will also add an option to hide this or disable it on next updates.

Thanks

Alin [tagDiv]
tagDiv Staff

5. You can add a block to an individual row and set margin/border to the column: http://screencast.com/t/AlOEmZ9psE
For widgets you have to use custom css.
6. If you refer to the Latest Articles sidebar will be the same on all pages. The Theme doesn’t have an option for that area, it’s only possible with custom modifications on the code but unfortunately it’s not an easy task.
7. The theme was initially designed with an fixed grid layout and changing it would not be easy as it needs changing the width value for all elements on pages and for this you would need custom work, so the full width will hide the sidebar automatically.

8. You have to modify the template (404.php), you can check the other templates (post, pages) to see how the sidebar is defined.

9. Please edit type.less to change font for quotes in Panel: http://screencast.com/t/t5MpFmFpt
In backend the quotes have color of the Theme, how you can see that in the less file. Also you can change that in what color you want.

10. You can change the Latest posts number from Homepage Loop Filter:
http://screencast.com/t/c94aDRWFp6h
http://screencast.com/t/XDP3mHWtyZ
Or leave that field empty and change the number from Settings > Reading: http://screencast.com/t/dcAgP2WPWN

11. Google adsense should not load, do you refer to something else? please provide more details.

Thanks!

Lucian
tagDiv Staff

Hi,

Thanks Chris!

@saucestevo

Please make sure you also test this without any plugins active and leave just Visual Composer plugin active and also empty cache then check again.
As Chris also mentioned In some cases this turned out to be due to the tagdiv speed booster plugin as this plugin moves the css and js automatically to the bottom of the page.
We suggest to deactivate all plugins to make sure this doesn’t happen due to others plugins you use and if this issue persists please let me know and also provide your site’s url.

Thanks

Viewing 25 results - 29,926 through 29,950 (of 33,436 total)