Search Results for 'css'

Results from the Forum
Bogdan B.
tagDiv Staff

Hello scorpiock,

There is an option in the theme panel but it disables all author names. If you want to disable it selective, you need to use a custom CSS to do that. Add this code in the theme panel and it should do the trick.

.td_block_3 .td-post-author-name, .td_block_13 .td-post-author-name{
display:none;}

Thank you.

arvindk
tagDiv Member

As it is confirmed it is problem with Jetpack + Newspaper theme, I fixed it temporarily by placing the following css code in my style sheet:

.post .td_smart_list_2 .td-sml-description p:first-child {
display: none;
}

rfassinoutagdiv
tagDiv Member

Thanks Andrei, from the screenshot, that is exactly what I want to get as result; However, when I copied and pasted the css above in custom CSS of theme panel, nothing changed. I don’t know why ?

Jeffrey Summers
tagDiv Member

It did. Those are the CSS codes I needed. Thanks.

mboydnv
tagDiv Member

Will that affect my indexed pages in Google? They are 200+ indexed pages in there as www. ?

While I got you Chris, here’s my .htaccess file in the public_html directory. I’m thinking of removing the block to index sitemaps.

Do you see any other trouble with this? Thanks

RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* ? [F,L]

RewriteCond %{HTTP_HOST} ^50\.28\.106\.21
RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

# PROTECT WPCONFIG
<files wp-config.php>
order allow,deny
deny from all
</files>

# Enable Leverage Browser Caching
<IfModule mod_rewrite.c>
ExpiresActive On

# Favicon (cannot be renamed)
ExpiresByType image/x-icon "access plus 1 week"

# Media: images, video, audio
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"

# CSS and JavaScript
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"

# Webfonts
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/x-font-ttf "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType font/opentype "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"

</IfModule>
# End Leverage Browser Caching

# TYPES FIX
AddType text/css .css
AddType text/javascript .js

# Enable GZIP Compression
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml text/javascript application/x-javascript application/x-httpd-php
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
Header append Vary User-Agent env=!dont-vary
# End GZIP Compression

# DISABLE DIRECTORY BROWSING
Options All -Indexes

# PROTECT HTACCESS
<files ~ "^.*\.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</files>

# DISABLE SITEMAP INDEXING BY GOOGLE AND OTHERS
<IfModule mod_rewrite.c>
<Files ~ "^(post-sitemap.xml|category-sitemap.xml|sitemap_index.xml)\.xml$">
Header set X-Robots-Tag "noindex"
</Files>
</IfModule>

# FORBID COMMENT SPAMMERS ACCESS TO YOUR wp-comments-post.php FILE
# This is a better approach to blocking Comment Spammers so that you do not
# accidentally block good traffic to your website. You can add additional
# Comment Spammer IP addresses on a case by case basis below.
# Searchable Database of known Comment Spammers http://www.stopforumspam.com/

# BLACKLISTED USER AGENTS
SetEnvIfNoCase User-Agent "Acunetix" keep_out
SetEnvIfNoCase User-Agent "FHscan" keep_out
SetEnvIfNoCase User-Agent "Baiduspider" keep_out
SetEnvIfNoCase User-Agent "Yandex" keep_out
<Limit GET POST PUT>
order allow,deny
allow from all
deny from env=keep_out
</Limit>
# END BLACKLISTED USER AGENTS

simchris
tagDiv Member

Basically, just change it.

Be sure the theme is not active; rename theme folder (generally you would do this on your PC/Mac prior to upload via FTP).

For example we change the name of our folder to our news network name.

Just change it from /Newspaper/ to something like /StyleBaron/ or whatever you website name happens to be — be careful NOT to name it the same as a category, post, plugin name, or WordPress function, just to be safe — like, don’t name it VisualComposer for example, or JetPack if you’re using jetpack, is tempting fate! hypehen and underlines can be used, like my-cool-mag … although I’d likely limit to 2 words, no reason you can’t do more.

If using a child theme you likely might need to check the style.css to make sure it points to the right place. I don’t use child themes, so if you don’t then it won’t apply to you either.

There is also an awesome resource called Google for many things like this — WP has been around over 10 years, so this is a very common question you can often answer yourself vs waiting for a reply here — not that anything wrong with that, or looking for pointers here from others who have already done the deed. 🙂

(pardon typos; this keyboard starting to die as is my brain …)

  • This reply was modified 10 years by simchris.
Steven
tagDiv Member

Well i fix it my self,by starting over that means deleting all my CSS CODES etc,now every thing seem to work so far…i don’t know what was causing this issue but what ever it was is gone and now the new VC is working as it should..bless

TOPIC CLOSED

Alin [tagDiv]
tagDiv Staff

Hi,

Please try this custom css in Theme Panel > Custom Csshttp://screencast.com/t/Vd1WoJ1WopShttp://screencast.com/t/z5sp2KzeaN

.td-header-style-1 .td-header-sp-logo {
margin-left: 0 !important;
}
@media (min-width: 768px) {
.td-header-style-1 .td-header-sp-logo img {
margin-left: 0 !important;
}
}

2. For the default header style you will need custom modifications to change the logo width, you could try this solution – https://forum.tagdiv.com/topic/logo-auto-re-sizing-problem-in-v6-3/#post-60395
Also using the header style with full logo, it should display the full size of your image. Please note that it will not resize it, you have to upload a bigger logo.

Thanks!

Andrei L.
tagDiv Member

Hi

I am not sure what you mean but if you want to keep the same layout for mobile devices as is for desktop that is a very complex task which involve lots of customization. The theme doesn’t have a setting for that, you will have to affect the css code and if you don’t know how to do it yourself my advice is to look for a freelancer from sites like http://studio.envato.com/ as we cannot offer any type of custom work at this moment.

Thanks for the message!

Pradeep Augustine
tagDiv Member

paste this CSS in your Custom CSS in the theme panel. body.postid-<strong>190</strong> .td-page-content table, .td-page-content td, .td-page-content tr {border: none!important; margin: auto;} . Replace the number in bold with the search page ID. Clear your cache and try. Let me know if it works.

jonybigude
tagDiv Member

Oh… will do! I do know that I should do a backup of the site but what do you consider to be the best way to update? I use a child theme and did all my customizations via child theme. Do I need to worry about correcting CSS, settings and so on?

charli_vk
tagDiv Member

I found the issue…

Inside your tutorial, the last line has an error: The quote.

<gcse:search></gcse:search>

Now works… Maybe some css styling?

Bogdan B.
tagDiv Staff

Hello Junior,

1) The best thing you can do about the header menu is to use header style 10 http://screencast.com/t/9FgB9fcMS199 and remove the custom CSS from your theme panel.
2) There is nothing that i can do about your logo as the white space comes from the image itself. Edit your logo and remove the white space in a photo editor.
3) For the footer font, you can change the size from the theme panel: http://screencast.com/t/EJKRmPLHO9

3)+ There is an option in the forum to notify a reply via email: http://screencast.com/t/zMth40ydbT Make sure you check your spam section as well.

Thank you!

Andrei L.
tagDiv Member

Hi

1. WordPress doesn’t have an option to add a profile picture, you will need a plugin like https://wordpress.org/plugins/wp-user-avatar/ or to use gravatar: https://codex.wordpress.org/How_to_Use_Gravatars_in_WordPress

2.3. To add a text in author box and add authors social networks replace the initial code from td_block_authors.php with this one: http://pastebin.com/GAxdwVKdhttp://screencast.com/t/jUp27afShAW5
Also you will need this css in theme panel custom css:

.author-description {
color: red!important;
font-size: 13px!important;
padding: 0!important;
}

You can change the font-size and the color as you like. The result should be like here: http://screencast.com/t/xjD5jNWuvpn3

If you want a different implementation my advice is to look for a developer from sites like http://studio.envato.com/ as we cannot offer any type of custom work at the moment.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

I’m not sure what you mean. Do you refer to this? – http://screencast.com/t/kWRk02p0g The css is from the plugin that you use.
You can try this custom css in Theme Panel > Custom Csshttp://screencast.com/t/kc3ydy0HRx9

#spingo-container .sg-featured-carousel-wrap .sg-event {
margin-right: 18px;
}

Thanks!

Bogdan B.
tagDiv Staff

Hello vikrant,

I have checked your site and you seem to have some errors in your console: http://screencast.com/t/lGi3DN4PTm
Please check this also without any plugins active except of Visual Composer, clear cache and purge you files if you use CDN. Then disable any js/css minification (it may cause some issues).

Thank you.

Alin [tagDiv]
tagDiv Staff

Hi,

The block 4 was created using module 2(this module is also used on block 2) and the block 5 is used module 3 so this are the files where you can try to add your code. For modules you can try something like this:

<p><?php the_field('price', $this->post->ID); ?></p>

To customize the price you can try to add a class to the paragraph and used it for csshttp://screencast.com/t/JLtppCV8

Thanks!

ZTWP
Participant
#0

Hi,

I just updated to Newspaper 6.5 and the latest Visual Composer. After I have changed an old “tab” element to the new tab, the new element was not displayed in the defined theme color, but in “default” blue color.

I finally found out that td_css_generator is only called to re-generate the CSS when you save options in Newspaper’s “Theme Panel”. Since it is often not necessary to change settings after updating the theme I guess many people update the CSS included in the pages only by accident.

It would be great to either mention the necessity to go to the theme panel and just press “Save” in the update instructions or to have an automatic detection if the theme was upgraded and then call td_css_generator automatically.

Thanks.

Bogdan B.
tagDiv Staff

Hello gabrielgiraldes,

Please make sure you update the theme properly using this guide (all the steps how to update from version 4) – https://forum.tagdiv.com/how-to-update-the-theme-2/ and also update the plugins that come with the theme files from the /plugins folder. Also if you use the child theme, you have to update it as the old files modifications or custom css will not work in the version 6.
If you have custom modification to the theme’s files you will need to re-add them as when you update the theme these files will be overwritten, but the the styling options you’ve set in the WordPress Theme Customize or settings should not be affected.
For more information on how to backup check the official documentation – https://codex.wordpress.org/WordPress_Backups

Thank you!

Bogdan B.
tagDiv Staff

Hello mboydnv,

This code should keep your menu from jumping to another line:

@media(min-width: 768px) and (max-width: 1018px) {.sf-menu > li > a {padding: 0 5px!important;}}

Paste it in the theme panel -> Custom CSS

Thank you!

Bintmusic
tagDiv Member

Hi Bogdan,

if i change tab color from visual composer I lose the style of newpaper theme

the problem It was already known

Alin [tagDiv]
#67072
Sep 2, 2015 at 3:04 pm
Hi Bintmusic,

We will also try to fix the css added by the theme as soon as possible(now the plugin css is applied). So if you renamed the shordcodes you can try this custom css in Theme Panel > Custom Csshttp://pastebin.com/9TqhCnCMhttp://screencast.com/t/cmd7NiC8 until we adjust the theme css for tabs.

Hope this helps!

https://forum.tagdiv.com/topic/deprecated-schede-tabbing/

Have you solve or i have to change css as Alin sad?

Thanks

Bogdan B.
tagDiv Staff

Hello,

You can change the tab colors from visual composer:
http://screencast.com/t/bD0X3JqChttp://screencast.com/t/qYf6QxC5

If you mean the title of the tabs not the tabs themselves, you need to use custom css to style the H2 title of the block. You can target the h2 inside the container using child selectors and apply your styles to it.

Example:

.vc_tta-container > h2{
color:red;
background-color:green;
display:table;
padding:8px
}

If this is not what you mean, provide more details so i can better understand how to help.
Thank you.

Junior
Participant
#0

Hi all,

Here is my website : http://www.sweetdaddy.fr

Here are my questions :
1) From screen http://hpics.li/1f09fb1 we can see that the menu is not taking all the width ; how to do it ?
Please take in consideration that I have the following CSS (which was given here) to have more space between each category of the menu :
.sf-menu a.sf-with-ul {
padding-right: 20px;
}
.sf-menu > li > a {
padding-left: 0px !important
}
.sf-menu .td-icon-menu-down {
padding-left: 2px;
}

2) From screen http://hpics.li/f2e3c2a : how is it possible to reduce the height between logo and menu, and between menu and slider ?

3) From screen http://hpics.li/922e4d2 : where do I need to go to be able to change the height of the font ?

That’s all ! Thanks in advance for your help 😉

PS : why not to put automically checked the box from “Notify me of follow-up replies via email” ? Think it would be easier for people to follow their post, in case they do not keep the window opened all the time, or if PC crash/reboot…

Bogdan B.
tagDiv Staff

Hi,

Sorry! I seem to have overlooked that part. Here is the CSS for the comment counters.

.td-module-comments a{
background-color:red
}

PS. the code you entered is OK.

Thank you!

Alin [tagDiv]
tagDiv Staff

Hi,


@mboydnv
Do you have the views and comments on your post?
If you don’t have those active you ca try this custom css as the container is still there, only the individual elements are removed(author, date, views..) – http://screencast.com/t/eq3xXZns9XUhttp://screencast.com/t/kRNsPJ5f

.single .td-module-meta-info {
display: none;
}

Also for the modules – http://screencast.com/t/x5EkxarHpn

.td_module_wrap .td-module-meta-info {
display: none;
}

Thanks!

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