Search Results for 'css'

Results from the Forum
scandmr
tagDiv Member

Hi team,

I managed to adjust to adjust the image size of the avatar in css using
.avatar-img {
max-width: 40px;
max-height: 40px;

However, the avatar wont appear on my homepage as seen on this image http://postimg.org/image/jptzksi57/ ,
I used “Simple local avatars”.

Please help me!…

AilyRoot
tagDiv Member

Hi

could you please tell how to let “commenting out some parts of style.css” work on child theme ‘s style.css?

I know how to add but wonder how to remove? such as your how to here
http://screencast.com/t/wNB9k9OSXwL2

yycnow
tagDiv Member

So sometimes the backhand editor wont appear still? Also like you said the css is being blocked. This all started to happen after I updated the theme. Can you please help me fix this

kompic
tagDiv Member

Hello, I had this ‘thing’ forever, from start, when I changed the color in first place. The color that load first is black which lasts for less then half a second, and then it shows the right one.

The main reason for this are plugins similar to Speedbooster. When you send stuff to footer because you want your website to start rendering faster, then the css that shows other color then black in top menu bar is loaded after the default color.

So if you do not want this to happen then just deactivate or modify plugins similar to speedbooster.

For example you can even send the main css style from the theme to the footer. In this case your website will look broken for 200-300 ms.

After you make all this that I wrote, make sure to clear cache if you use caching plugin, or CDN.

Cheers

insidestl
Participant
#0

I need to move the post title. It is showing up on top of my custom ad at the top of the screen.

All I want to do is have it sit above the top image in the post….Seems like a custom .css edit is needed?

omar ahmed
Participant
#0

i know this theme not suppport rtl

but i need some ease help

i want only convert direction

– menu

– logo

– arrow ticker box

– big gride

– sort direction post in block

pleae give me css to solve this issue

this my site

Bogdan B.
tagDiv Staff

Hello,

The menu arrows were added with fonts, not icons. In order to change the graphic you need to install the font awesome plugin. Then you can use this css:
ul.sf-js-enabled > li > a > i.td-icon-menu-down:before{
content: '\f0d7' !important;
font: normal normal normal 17px/1 FontAwesome;

.sf-menu .td-icon-menu-down {
margin-top: -8px!important;
}

result:http://screencast.com/t/qbxgm7rn
For a SEO plugin we recommend the SEO YOAST plugin.
http://screencast.com/t/M02oZTexcr
Thank you!

Catalin
tagDiv Staff

Hi FrozenGod,

You can try the code below if you want to give some style to your post pagination. Place the code in your Theme panel->Custom Css area, like this: http://screencast.com/t/KUAvmUAqtv

First of all, you have to create a class for Prev/Next pagination like this: http://screencast.com/t/sbIiL1GEIf

.next {
width: 70px;
height: 70px;
background-image: url("http://blafi.com/blafibutton.jpg");
background-size: 70px;
background-repeat: no-repeat;
vertical-align: middle;
color:black;
font-size:13px;
font-weight:bold;
}
.prev {
width: 70px;
height: 70px;
background-image: url("https://pixabay.com/static/uploads/photo/2014/04/02/10/55/arrow-304924_960_720.png");
background-size: 70px;
background-repeat: no-repeat;
vertical-align: middle;
color:black;
font-size:13px;
font-weight:bold;
}

The result you should see here: http://screencast.com/t/qHypUmv7BF .

Above, I have tried to show you an example how to give a style for your pagination button. Also, you can adjust the values as you wish until you achieve what you want. If you do not aware the steps you will follow, please consider to hire a developer/freelancer to do this thing for you, because this feature required custom work and we do not provide this for the moment, sorry!

I hope this helps and let us know how it goes!

Thank you!

Andrei L.
tagDiv Member

Hi

To add a title for ads from post content you need to edit td_module_single_base.php file and add this code like here: http://screencast.com/t/4k3201856

'<div class="td-ads-title"> Advertissement </div>' .

Also you will need this custom css in theme panel > custom css: http://screencast.com/t/CuPlBVdR6l

.td-ads-title{
margin-left: auto;
margin-right: auto;
display: table;
}

Let me know how it goes.
Thanks!

  • This reply was modified 10 years by Andrei L..
  • This reply was modified 10 years by Andrei L..
Bogdan B.
tagDiv Staff

Hello,

It can be done with custom css like so:
@media (max-width:767px){
.td-related-row .td-related-span4{
width:100%!important;
}
.td-related-span4 img {
width: 100%;
}
}

But this will stretch the image thumb and the images will lose a bit of their quality: http://screencast.com/t/Kmi2ruPLTf
This is because the thumb used is smaller and the image is stretched.
In order to change the default thumbnail used you can change it here: http://screencast.com/t/P4WA5KmIP
The defined thumbnails can be found here: http://screencast.com/t/hFMDEMrO

Thank you!

Bogdan B.
tagDiv Staff

Hello,

1) the top bar was hidden by default in the mobile menu. You can activate it by using custom css:
@media (max-width: 767px){
.td-header-top-menu-full {
display: block !important;
}
.td-header-sp-top-menu {
display: block!important;
}
.menu-top-container {
display: none !important;
}
}

This code will provide this result: http://screencast.com/t/jxljko5scU8T

2)I do not understand your issue. i assume you are talking about the loading effect of images. The lazyload animation can be deactivated from here: http://screencast.com/t/5i5me0oPV

Thank you!

Bogdan B.
tagDiv Staff

Hello,

You simply need to change the div positioning to absolute and then adjust the left/top proprieties: http://screencast.com/t/P9BPt9Tluk
#div-gpt-ad-tower-left{
position:absolute;
left:280px;
top: 295px;
}

If you want this to be a floating ad you can set the position to fixed so it will scroll with the content.
You can read more about css positioning here: http://www.w3schools.com/css/css_positioning.asp

Thanks.

Catalin
tagDiv Staff

Hi john80,

For make this changes, it is necessary to use a bit of Css. To add a border before the text you have to use border-top and after the text, border-bottom. Now, depends where exactly you want to add this line because are more possibilities, as example: only for p or h1,h2,h,3,… Below i gave you an example how to add a line before and after a h3 tag, like this: http://screencast.com/t/NSdbRdyY . Please try the code below and adjust them as you like. The code have to insert in your Theme panel->Custom Css area, like this: http://screencast.com/t/T816pKfVG

.td-post-content h3{
border-bottom:1px solid black;
border-top:1px solid red;
}

If is not what you mean, please provide more details.

Hope this helps and let us know how it goes!

Thank you!

arpita
Participant
#0

Hi there,

I want to add advertisement side towers on both the side of main content div. so it should go under td-main-content-wrap class and around td-container.

Left tower will be before td-container and Right will be after container.

Website URL is http://aksharwebsolutions.com/ffm/ – can you please give me CSS code, so it all stays inline with each other (towers and main content)?

Your earliest response is greatly appreciated.

Thanks,
Arpita

Ing Geek
tagDiv Member

@posonty en el archivo td-speed-booster.php tienes que eliminar el apartado que Bogdan B. Te indica y así se activará el speedbooster.
Por otra parte tu sitio carga muy lento por culpa de tu servidor que hace un waiting time largo inclusive después de que veo que ya instalaste el plugin de caché.

En Leverage browser caching, nada o poco puedes hacer, aquí tienes que intentar no utilizar recursos externos pues depenedes de la velocidad de otros servidores donde están alojados estos recursos.

Eliminate render-blocking JavaScript and CSS in above-the-fold content. La mayoría de los CSS y JS se pasarán al footer con el speed booster, sin embargo te quedarán algunos que no se mueven o que no deben ser removidos para no quebrar la estructura o funcionalidad del diseño. Así como muchos que pueden quedar que no se van porque son archivos de plugins o recursos externos que estás usando y se requieren para el funcionamiénto de la página.

Catalin
tagDiv Staff

Hi bauzival,

Please try the code below and place it in Theme panel->Custom Css area, like this: http://screencast.com/t/ZzKoy5Y4

.td_module_7 .entry-title a {
color:#81d742;
}

The result you should see here: http://screencast.com/t/syCQkpAay

Notice: You should have the same color with the color of the block title and practically the hover effect will disappear for this module.

Hope this helps and let us know how it goes!

Thank you!

Bogdan B.
tagDiv Staff

Hello,
Unfortunately there is no option for this in the theme but it can be done with a bit of customization.
You can hide the other review scores with css in order to just display the overall score:
before: http://screencast.com/t/j0lEQc3x
after: http://screencast.com/t/zH23QN8DuqG2
Use this code in the theme panel->custom css box:
.td-review-row-stars{
display:none!important;
}

As for the position you will nedd to edit the theme files to move the reviews.
Edit the loop-single_x.php template you use on your post. (you will need to edit every template you use on your posts http://screencast.com/t/gNewwrcmEQ3q)
Modify the template you use like so: http://screencast.com/t/CcMkeJjJ

Thank you!

Andrei L.
tagDiv Member

Hi

1. 3. Please check in Visual Composer settings if this option is enabled: http://screencast.com/t/OeqvCNmGnf Also try to deactivate all plugins except VC, clear all caches and test again.
I’ve checked your site and usually loads fine: http://screencast.com/t/iUaEDuEEJR but sometimes seams that the theme’s css isn’t loaded: http://screencast.com/t/MxA8TA0r I am not sure what’s blocking the the css but you can try by viewing the site a few times in browser only with Visual Composer active, just to make sure that there is no conflict with some plugin.

2. This could be a cache issue so make sure that you’re empty all caches then test again.

4. The theme wasn’t designed to be full width, you will need custom modification to achieve that. However I’ve noticed that on the indicated page you have only single image blocks from VC. You can try the stretch row and content option of VC but I am not sure how will as wasn’t tested with the theme: http://screencast.com/t/pgZmuEkt I’ve made a quick test with this configurations and seams to work fine: http://screencast.com/t/RtPnmDjOZOhttp://screencast.com/t/doEVYIFrlmi http://screencast.com/t/tRlYotyvGsY

Hope this help.
Thanks!

Andrei L.
tagDiv Member

Hi

That happens because the td-more-articles-box container have a right: 0 position from the theme so try this css to remove it:

.td-front-end-display-block {
right: auto;
}

Thanks!

Andrei L.
tagDiv Member

Hi

First you need to edit ads.php file and add this code like here: http://screencast.com/t/fuxJVOF4Q1K

<div class="left-img">
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]')?>
</div>
<div class="rigth-img">
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_2"]')?>
</div>

Then add this css in theme panel > custom code > custom css:

.left-img, .rigth-img{
display: inline-block;
}
.td-header-ad-wrap{
height: auto!important;
}

You need to insert your ad code in custom ad 1 and custom ad 2 from theme panel: http://screencast.com/t/2IncMW3yH2 or if you want a different ad spot just change the shortcode from ads.php file. The result should be like here: http://screencast.com/t/sym9GLVY

Hope this help.
Thanks!

  • This reply was modified 10 years by Andrei L..
bauzival
tagDiv Member

Oh and of course I could change the css class “.td_module_xx .entry-title a” to the color I like but that way every module will have that color. I need different post title colors for different modules.

Or is there a way to add a custom css class in the “Block Settings”?

Catalin
tagDiv Staff

Hi Arafat,

The easiest way to achieve this is by using a plugin. Something like: https://wordpress.org/plugins/last-updated/screenshots/
We have not tested these plugins. Some of them might not work with our theme. Try a few of them out and see how they work.

The alternative involves coding:
Use this code http://pastebin.com/vCsS4CFf

And add it to the loop-single or single_template file corresponding to your post template: http://screencast.com/t/35I4CepLEU and replace the get_date code with the one above: http://screencast.com/t/THPFMM9E
Result: http://screencast.com/t/t7sLh9Vdt
You can read more about it here: http://wpcrux.com/wordpress-last-modified-date/

Also you can use the code below to make a style for your modification

.td-module-meta-info {
display:inline-flex;
}
.the-modified-date {
padding-left:5px;
padding-right:10px;
padding-top:2px;
}
.td-post-comments {
display:none!important;
}

The result you should see here: http://screencast.com/t/SiGBizjach0v .

Hope this helps and let us know how it goes!

Thank you!

Bogdan B.
tagDiv Staff

Hello,
Unfortunately this customization requires a bit of work. The theme was built to work with 3 columns. Each of these columns has a width of 33.3% of the screen. If you decrease the width on one of these columns, the layout will be broken. Change one element and others will be affected by this change so you will have to change their width as well and adjust the positioning. Unfortunately it is not an easy task and we do not recommend it.
You can set a sidebar for each of your pages by either selecting a sidebar: http://screencast.com/t/pQwcTvsVX, or creating one in the page with visual composer: http://screencast.com/t/ZgKggOEc
The slider you mentioned is a plugin and it is not tested to work with the theme.
you can use this custom css to make it fall behinf the menu:
#advps_container1{
z-index:0!important;
}

Thank you!

doucare1971
Blocked
#0

I think I mentioned this a few times so far about this and I don’t anything is going to be done about this but I see really any reason to use this Speed Booster plugin if it is never going to fix the styling of BuddyPress. To show what I am talking about and no one has really responded to me about this.

I activated Speed Booster and here is image before activating it on BuddyPress members page with tabs.

Before Activating Speed Booster

Now after activating Speed Booster.

After Activating Speed Booster

So what do I do to make it back to the way it was on the styling before activating Speed Booster?

Cover Photos Missing now with Speed Booster enabled even with the new CSS you gave me to fix the tabs for profiles.

Here is that image:

Cover Photos Missing

Catalin
tagDiv Staff

Hi jsup,

Our theme has not been designed to show Sign in/Log in on mobile version. Please try the code below to fix it in your mobile side. Place the code in Theme panel->Custom Css area, like this: http://screencast.com/t/BzV7Wpof

@media (max-width: 767px){
.td-header-top-menu {
display: block!important;
}
.td-header-sp-top-menu .td_data_time, .td-header-sp-top-menu .menu-top-container, .td-header-style-1 .td-header-sp-top-widget{
display: none;
}
.td-header-sp-top-menu{
display: table!important;
margin-left: auto;
margin-right: auto;
float: none!important;
}
}

The result you should see here: http://screencast.com/t/rmHYIJX9zh

Hope this helps and let us know how it goes!

Thank you!

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