Search Results for 'css'

Results from the Forum
Bogdan B.
tagDiv Staff

Hello,

It is possible but css cannot tag a particular category with a particular color. You can only target elements based on their position number.
For example, you can set the first element to be red, the second blue and the third to be pink. But this setup will still apply if the categories change order or if different categories are displayed. You can set a color pattern but not assign it to a specific category.
I hope i explained it right.

Thank you!

elocuent
tagDiv Member

When tried to edit editor-style.css

inside folder /html/wp-content/themes/Newspaper

get this message:

/*
Hello,

the editor style used by the theme is located in /less_files/editor-style.less – it’s a less file and it’s compiled on runtime

~ tagDiv
*/

nelson
Participant
#0

Hello, I bought your theme there as two days (very beautiful theme, congratulations :-))
I followed your instructions to create a child theme, but there appears to have a small problem, I want to clarify that I did not change any css for the moment or other, I just installed the demo, and set up child-theme.
Strangely there seems to be a bug, the elements are appeared in the footer (see screenshot).
problem in the footer

Could you help me solve this problem?
For not being a developer, I do not understand too much, or just the problem.
thank you in advance

XS22
Participant
#0

After latest update images are showing much smaller. I have tried updating all plugins etc but nothing helps 🙁 http://i67.tinypic.com/2uzfek4.png
help.
_________________________________________________________________
Hi,

I’m not sure how they looked before or why they look smaller now however you could try to adjust them using custom css code, like this: http://screencast.com/t/aY1CnyqMfy7

.vc_figure {
width: 100%;
margin: auto;
}
Hope this helps! Let us know how it works!

Thanks! Lucian C. tagDiv!
________________________________________________________________
i did add this code on costum css part on the template but didtn help 🙁 All pages are now like this and i dont undrestand why. can i send you an pm with access details so you can check?

Website http://www.numerologensverden.no/

louist
Participant
#0

Hi there,

I followed Chris’ custom optimization and noticed he removed the VC css on single templates.

I decided to try and apply it site wide and so far seems even the home page loads properly. And I’m sure I used VC to build the home page as well as the category pages.

So what gives… Is the VC’s CSS only used for admin purposes?

Cheers!

Bogdan B.
tagDiv Staff

Hello,
You can use your browser inspector to find the class and then use it to style the element.
Use this CSS:

.single-resorts .td-category a {
color: #fff;
background-color: red!important;}

http://screencast.com/t/fuPgb2dL1vcX

Thank you!

beckib
tagDiv Member

Thanks for your reply! I know some basics on changing color in css but not sure what class to specify in this case. For example, here is a CPT article:

http://sandbox.resortsdaily.com/resorts/hawksbill-rex-resorts/

I’d like the All-Inclusive label to be #E91E63

Thanks!

Bogdan B.
tagDiv Staff

Hello,
Unfortunately the mega-menu option is not available on the mobile version of the theme. What you can do to achieve your desired effect is create 2 menu items with the same name and make one a mega menu and the other one a custom link. Then you can simply hide the custom link on the desktop version and hide the mega menu item on the mobile one. http://screencast.com/t/MRAfgkxu
Then you can use css to hide each one on the device of your choice.
Every menu item has a custom class called menu-item-x where x is the menu item number.
You can target these with css like so:

first one:
@media (max-width: 767px){
.menu-item-362{
display:none!important;
}
}

This is for the mobile version to hide the page menu item.
http://screencast.com/t/yoIuZn5gmS
And for the other we use the code like so:
@media (min-width: 767px){
.menu-item-363{
display:none!important;
}
}

http://screencast.com/t/thg1VSizG
Use both of these codes together in the theme panel->custom css box. You will have to adapt the code to your menu item numbers. Use the browser inspector to do this: http://screencast.com/t/JMg4UDwGJz
I hope this helps.

Thank you!

Andrei L.
tagDiv Member

Hi

You can edit the file corresponding with the post template used and delete the part of code for the element that you want to remove. To remove related article from video template you need to edit loop-single-8.php file and remove this line: http://screencast.com/t/OJnNZhIyq5http://screencast.com/t/hx47XWia5
To remove the more article box from tha same template try this css in theme panel > custom css:

.single_template_8 .td-more-articles-box {
display: none;
}

Thanks!

Bogdan B.
tagDiv Staff

Hello,

This could be a plugin issue. Please try to disable all your plugins except visual composer and check the editor again. If this does not work, make sure you update your theme to the latest version and also update visual composer.
If all else fails, you can change the color using css. The editor text color can be found here: http://screencast.com/t/hrMsN2DU There is an editor-style.css also. You can manually change the color in the file.
Let us know how it goes.

Thank you!

elocuent
Participant
#0

Hi, i have just started to have this problem on my website elocuent.com

All my text in the post editor is now white, when selected is still there for old postm, but is white text over white background. HEadlines working fine.

When disable visual editor for user, all works.

Tried all the recommenden solutoons from wordpres reinstallin wp-includes, updateing WP, cleaning cache in all browsers( by the way

Our of desesperation to keep working we even looked to do this https://wordpress.org/support/topic/no-visual-editor-white-text-after-381-no-solutions-work
“As a temporary work around I updated line 1 in the styles sheet: wp-includes/css/editor.min.css
change…
.js .tmce-active .wp-editor-area{color:#FFF}
to…
.js .tmce-active .wp-editor-area{color:#333}”

And found this cooment in the file

/*
Hello,

the editor style used by the theme is located in /less_files/editor-style.less – it’s a less file and it’s compiled on runtime

~ tagDiv
*/

So all the workarrounds of reinstalling wp-includes do nothing to the thme . Right?

PLease help, we are stuck

PS. Only change we have donde recently to the site was activating and deactivating http://www.elocuent.com/wp-admin/admin.php?page=vc-general Visual composer for post and then deactivated. This was weeks ago, but is last change in our log….

Bogdan B.
tagDiv Staff

Hello,
I have tested this on my end and it seems there is a container there that does not get removed by the code Andrei gave you.
Just replace the css with this one:

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

Thank you!

Bogdan B.
tagDiv Staff

Hello,

The css class of a custom post type does not match the one from a default one. That is why css does not get applied to specific parts of the CPT. You can change colors with custom CSS you can place in the theme panel.
If you do not know how to change colors in css please provide us with a link to a post so we can take a look and come up with a solution.

Thank you!

Bogdan B.
tagDiv Staff

Hello,

You can change the color to your default one by using this custom css code:

.single-post .block-title a, .block-title span, .block-title label {
background-color:#4db2ec;!important;
}
result: http://screencast.com/t/ZfQTKk6WoOm
Thank you!

Bogdan B.
tagDiv Staff

Hello,
In order to make your logo stay on the left side you can use this custom CSS:
.td-header-style-9 .td-header-sp-logo{
float:left;
}

And then assign a background color to your website (white counts as well) Just change to anything but the default value to make the container boxed: http://screencast.com/t/OUu7hBk1Nccg
You can also use a padding-left: value in your code to adjust the logo position.
result: http://screencast.com/t/tx6P5k5pNLAv
Thank you!

lpa_admin
tagDiv Member

Hi:
Thank you for the quick reply. The problem seems to be that on the upload of the image as a logo within Newspaper what was once a 1200×160 pixel image is reduced to 1024×136. I have tried several sizes including the 1200×160 but for all those over 1024 they get reduced (reformatted) in the Logo and Favicon upload to 1024 width. Our operation site at http://lagoonpondassoc.org is based on the free WordPress theme TwentyFourteen. We would like to have something similar if possible. In addition, each time the header is loaded a random selection is made from a set of images. Perhaps we wont get there but that is how it is now.

So, can we defeat the reformatting in the upload and would that defeat a bunch of other css formatting rules? Or is there some other way to get the side to side image?
Regards.

mrock
tagDiv Member

Thanks for your help.
It just works when paste your css in the theme panel.

Best regards,
Manuel Roque

strawberrybase
Participant
#0

Hi,

i’ve been trying to get my site logo to move from the center to the left hand side, using header Style 9.

I placed the following code in the custom css

.td-header-style-9 .td-header-sp-logo img{
margin: initial;
}

I took this code from the topic below (and changed the header style from 7 to 9), unfortunately it’s not worked. Do you have any suggestions please?

https://forum.tagdiv.com/topic/how-to-align-full-header-logo-on-left/

Bogdan B.
tagDiv Staff

Hello,

There is no option in the theme panel for that but it can be changed with custom css:

.td-main-content-wrap, .post{
background-color:red!important
}

http://screencast.com/t/tKx1JgQpS

If you want to change the header section as well, that can be controlled from the theme panel.

Thank you!

Bogdan B.
tagDiv Staff

Hi,

Sorry about the colors question.
You can change the background colors from the theme panel: https://forum.tagdiv.com/background-introduction/ Note that the post background will be influenced by the category background you set from the theme panel->categories tab: http://screencast.com/t/NNwytsbTJTz
Please understand that custom work is not part of support. It is written in the support policy here: https://forum.tagdiv.com/support-policy-2/. The theme does not have an option for RTL so it qualifies as custom work. We usually try to help with custom work where we can, with small tasks that do not require lots of time to do. However, making your website RTL is no small task. You will have to change the theme css for all the elements. We are a small team and time does not allow us to tackle such tasks and we do not have a universal piece of code we can give you to change the whole site direction to RTL.

Thank you for your understanding.

Catalin
tagDiv Staff

Hi Foupin,

You can change the Facebook icon if use the code below in Theme panel->Custom css area like this:
http://screencast.com/t/rarOuLxegVra

.td-footer-wrapper .td-social-style-2 .td-icon-font {
font-size: 36px;
width: 64px;
height: 64px;
line-height: 64px;
background-color: #4DB2EC;
}

Notice:-you can adjust the values as you want to achieve the desired result-

The result should can see here: http://screencast.com/t/ychAQLowb6G

If is not what do you want, please provide more details!

Hope this helps!

Thanks!

Andrei L.
tagDiv Member

Hi

Try to change this class name like here: http://screencast.com/t/tddrfiUNGN then replace the above css with this one: http://screencast.com/t/VMLEdqNWbHHY

@media (max-width: 767px){
.td-icon-my-mobile:before {
content: '\2630'!important;
font-size: 40px;
}
}

Also you can use Font Awesome 4 Menus plugin which works fine with the theme, just and add this classes here: http://screencast.com/t/5xu6mROgSEA

Thanks!

Andrei L.
tagDiv Member

Hi

There are a few thing which must be considered when you update from V4 at V6 of Newspaper theme.
Newspaper 6 is practically a new theme, the whole code was rewritten so make sure you made a clean update, meaning that we recommend that you delete the old version of the theme before uploading the new one, more details can be found in our update guide: https://forum.tagdiv.com/how-to-update-the-theme-2/ The shortcodes have been changed so old ones will not work anymore. Please note that old files customization or custom css will not work with the new version and you will have to adjust or re-add them.

Hope this help.
Thanks!

Bogdan B.
tagDiv Staff

Hello,

You can hide the highlight border with custom css:

.sf-menu > li > a:after{
display:none;
}

Just add the code in the theme panel->custom css box.
result: http://screencast.com/t/8LMWwsNNtKdo

Thank you!

wpdiv
tagDiv Member

Hi Alin

I had setup staging website here http://www.wpdiv.ml/ (clone of http://www.wpdiv.com) and make changes in the CSS properties (by finding font-family syntax via our theme) in child theme based on your latest version of Newspaper theme 6.5.1 and here is the child them URL http://www.wpdiv.ml/wp-content/themes/WPDIV/style.css

But some reasons, i did not worked and renders the system default font instead of custom font Titillium. (Did cleared the cache before posting this reply and when i replace the old child theme style sheet http://www.wpdiv.ml/wp-content/themes/WPDIV/old_style.css custom fonts loading without any issues)

Will you please guide me the right way where i did made mistake?

  • This reply was modified 10 years by wpdiv.
Viewing 25 results - 25,876 through 25,900 (of 33,436 total)