Search Results for 'css'

Results from the Forum
Lucian
tagDiv Staff

Hi,

Try this css: http://screencast.com/t/ZkWegX9ZrStt

.td_block1 .span6 {
float: right;
}

.td_block1 .row-fluid [class*="span"]:first-child {
margin-right: 0px;
}

.td_block1 .row-fluid [class*="span"]:nth-child(2) {
margin-right: 6.857142857142857%;
margin-left: 0px;
}

Thanks

Lucian
tagDiv Staff

Hi,

I have noticed now. Thanks for reporting it!
It seems to be a bug as the background img has set an negative position from the top and this cause the white bar.
I will add this on our issue tracker list and we will fix this as soon as possible, until then please try to use this css to fix it. I gave tested this live on your site and seems that this fixes it: http://screencast.com/t/tPQmzWxbS

.backstretch .td-backstretch {
top: 0px !important;
}

Hope this helps! Please let me know!

Thanks

Lucian
tagDiv Staff

Hi,

Sorry for the delay!
I have checked your site and haven’t found the custom css I have provided you for your footer logo image: http://screencast.com/t/e00JA1NyXOeZ so please make sure that you have added it to your custom css filed in them panel and alps that you have add it right, like this: http://screencast.com/t/DqfaI5I5qjXv
Should work fine as I have tested this on your site: http://screencast.com/t/O1TiH59vW8N
I believe you refer to this full width image: http://www.kungalvsnyheter.se/td_d_slug_46/ which is the post template no 4 which unfortunately can’t be set elsewhere but on post pages.
If you want something similar on pages you can use the “Homepage – bg – no article list” template and remove the slider.
You can read more about how you can achieve this here: https://forum.tagdiv.com/topic/full-width-image-header-on-hompage/
Here are the recommend logo sizes both retina and regular logo: http://screencast.com/t/lBO69QXxxa

Thanks

Hassan Zia
tagDiv Member

Yes Sir i did.
i copied all from style.css of main theme and pasted in child theme’s style.css , below comment

/* —————————————————————————-
Your custom style…. here 🙂
*/

still distrubed.
please have a look
http://akhbarworld.com/

Lucian
tagDiv Staff

Hi,

You have this negative margin set on rows which causes this: http://screencast.com/t/Cv3Z1uR9rSDv
Make sure you remove that custom css or add this one to set it to 0:

.row {
margin-left: 0px !important;
}

Thanks

Lucian
tagDiv Staff

Hi,

You could also add it in the custom css filed in theme panel, like this: http://screencast.com/t/IHiQUlIvh or at the end of style.css file.. but like you have added it should also work fine.

Thanks

Magistar
Participant
#0

Hi there. I am currently using a left sidebar on 90% of my pages. Therefore I would like the More Article Box to pop-up on the left side of the screen. (Since it nows blocks the content and has to be closed before the visitor can continue reading).

Could you point me to the appropriate php or css file?

Thanks in advance!

mbasche
tagDiv Member

Did you used the original “newspaper-child” theme with including the css from the original?

simchris
tagDiv Member

okay, this “might” be the issue, might not…

in looking at the /includes/less_files/font-icons.less

I did find this …

@font-face {
font-family: 'newsmag';
src: url('@{td_css_path}images/icons/newsmag.eot?6');
src: url('@{td_css_path}images/icons/newsmag.eot?6#iefix') format('embedded-opentype'),
url('@{td_css_path}images/icons/newsmag.woff?6') format('woff'),
url('@{td_css_path}images/icons/newsmag.ttf?6') format('truetype'),
url('@{td_css_path}images/icons/newsmag.svg?6#newsmag') format('svg');
font-weight: normal;
font-style: normal;
}

While on the “face” of it (typography pun 🙂 ) … that “should” work, and follows modern practice … the ?# might be breaking somewhere, but doubtful.

e.g.,
normal use:
@font-face {
font-family: 'MyWebFont';
src: url('webfont.eot'); /* IE9 Compat Modes */
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('webfont.woff2') format('woff2'), /* Super Modern Browsers */
url('webfont.woff') format('woff'), /* Pretty Modern Browsers */
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}

By contrast this is how I load the Font Awesome font on our main business site at bottom of the main minified CSS file:
(un-minified for easy read .. without the FA style classes….)
@font-face{font-family:'FontAwesome';
src:url('/assets/fonts/fontawesome-webfont.eot');
src:url('/assets/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
url('/assets/fonts/fontawesome-webfont.woff') format('woff'),
url('/assets/fonts/fontawesome-webfont.ttf') format('truetype'),
url('/assets/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}

Putting it at bottom of our main style.css worked best for us as it wasn’t being loaded through a separate load/include function.

So, if somebody – who can’t see the icons on their own website – wants to try putting the CSS for the font at bottom of their style.css file, have at it, then re-testing their website to see if the fonts work. Not sure where the less file is being called from … possibly the speed booster master file or functions.php.

I can’t test as I am not having the “I don’t see icons” issue.

ZTWP
tagDiv Member

Hi again,

ok, after setting up a demo site and comparing them, I figured out that the problem is the child theme.

I configured the child theme as proposed in http://codex.wordpress.org/Child_Themes. This page explicitly says: “@import should not be used to import the parent stylesheet into the child theme.” simply because it’s bad for performance.

However, you propose in https://forum.tagdiv.com/child-theme-documentation/ to use import – and actually that’s the only way how it seems to work.

Is there any way to create a child theme but avoid @import in the child css?

BR

saucestevo
tagDiv Member

Added the code to the existing line item. Was there a certain spot on the style.css to edit it?

simchris
tagDiv Member

Again. Weird. I can see the icons on http://ladgeneration.com/ perfectly fine in ALL browsers, Mac (Mavericks, and new Yosemite), PC (Win7/64, IE11 and Chrome), iOS across three systems, and iPad Air/iOS 7 latest.

I am not using Firefox, however, as I hate it.

Firefox *does* have some issues with CSS, which we ran into with our ecommerce system which *no* other browser has, but I didn’t test the icons with latest version. I think I have that on the Mac system with Mavericks, so I will check that when I have time juuuuuuust because I’m curious.

There is no good reason NOT for the icon font to load properly.

But obviously enough people are NOT seeing the icon font for it to be more than a “non issue.”

Lucian
tagDiv Staff

Hi,

You can edit the loop-single.php file and remove the feature image like this: http://screencast.com/t/ZrBeyueDPv
Do the same for other post types also and leave it enabled just for post template 3.
For the title issue with video posts please use this custom css: http://screencast.com/t/9hplmCY0

.single-format-video.single_template_3 header{
position: relative;
}

.single-format-video.single_template_3 .post header .entry-title {
color: #222222;
margin: 10px 0px 20px 0px !important;
}

.single-format-video.single_template_3 .post .td-image-gradient:before {
display: none;
}
.single-format-video.single_template_3 .td-post-header-full {
background-color: transparent;
}

.single_template_3 .td-post-header-full .meta-info {
margin-left: 0px !important;
}

Thanks

  • This reply was modified 11 years by Lucian.
Pjump
tagDiv Member

I’ve change the CSS to show that banner in the mobile view, so I have to hide it in the @media print.

Thanks!

Emil G
tagDiv Staff

Hi,

It seems to be an css issue, maybe coming from a plugin, try to disable all plugins, clear the cache, enable only the Visual Composer plugin and see if the issue is still there. If you use any CDN purge all files, it may deliver older version for some of the files.
I’ve tried to look on your page but i get a redirect. Let me know how it goes.

For the pagespeed issues check this guide – https://forum.tagdiv.com/how-to-make-the-site-faster/
And the discussion here – https://forum.tagdiv.com/topic/pagespeed/

Thank you, Emil G.

Lucian
tagDiv Staff

Hi,

Try this css to have the images like this on mobile view: http://screencast.com/t/963cgPNrcAIa

@media (max-width: 767px){

.td_mod8 .item-details {
margin-left: 0px !important;
top: 15px !important;
}

.td_mod8 .thumb-wrap img {
max-height: 100%;
max-width: 100%;
width: 100%;
position: relative;
}
}

Hope this helps!

Thanks

Emil G
tagDiv Staff

Hi,

Try the following css: – http://screencast.com/t/24ZRspqeZ

a[title="Klikk her for og del dette på Facebook"] img {
margin: 0px auto;
}

Thank you, Emil G.

Emil G
tagDiv Staff

Hi,

Do you have any custom css or code modifications on the theme? if you do please remove them and try again.
If you use cache/cdn reset/purge all files and check again.
If nothing works please send an email at contact@tagdiv.com , specify the issue and provide wp-admin and ftp access so i can take a look.

Thank you, Emil G.

Lucian
tagDiv Staff

Hi,

Use this css to fix that: http://screencast.com/t/EbUBRcze

.author-box-wrap img {
float: left;
}

Thanks

Emil G
tagDiv Staff

Hi,

Did you made modifications on the print css? Check the print css inside the style.css file – http://screencast.com/t/lY1oRHCc See what items are disabled on the page, if possible paste the code here or provide an image with it.

Thank you, Emil G.

Lucian
tagDiv Staff

Hi,

Use this css media query’s to target just the tablets and desktop screens and remove the featured image like this: http://screencast.com/t/SZCzNYIqvt

@media (min-width: 767px) {
.td-post-featured-image {
display: none;
}
}

To remove the video from modules on category age use this css:

.category .wpb_video_wrapper {
display: none;
}

Thanks

Lucian
tagDiv Staff

Hi,

Please use this custom css and add it in theme panel > custom css field: http://screencast.com/t/GLDFGOCpAWH

.author .td-post-text-content .wp-caption {
margin-left: 0px;
}

Thanks

ZTWP
tagDiv Member

Hi Lucian,

your CSS indeed fixes the problem with overlapping logo and ad – thanks! In my opinion I think that the theme (i.e. Newspaper) should already include this…

What’s not fixed is the misaligment of the menu. This is how it looks on your demo page (http://demo.tagdiv.com/newspaper/) in tablet mode:

Compare this to our installation where the menu icon and line underneath starts more to the left.

The settings are included/generated by Newspaper.

So, I guess there is an error there?

Best regards

  • This reply was modified 11 years by ZTWP.
Lucian
tagDiv Staff

Hi,

You also have this issue on desktop screens: http://screencast.com/t/fjvIcclaK58
Use this css to fix it:

.td-widget-search-input {
width: 93%;
}

Also make sure you disable the plugins as this js error from your console could also cause issues: http://screencast.com/t/18tJOWDkeWhq

Thanks

Dinozero
tagDiv Member

Lucian,

That CSS messes up the “Share” social icons pretty badly.

I really appreciate you helping, but is there any other css I could try?

Or is it another issue with that template? It’s just not designed to be like that?

Viewing 25 results - 30,501 through 30,525 (of 33,436 total)