- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Hi again
Everything looks great in Chrome (38), but how do I write IE11 specific CSS? The logo in the menu looks all messed up in IE11…
/* —————————————————————————-
Custom CSS
*/
.menu-item-40484 {
display: none;
}
.affix .menu-item-40484 {
display: block;
}
.menu-item-40484 {
position: absolute; left: 260px;}
}
/* responsive portrait tablet */
@media (min-width: 768px) and (max-width: 1018px) {
.menu-item-40484 {position: absolute;left: 35px;}
}
/* responsive landscape tablet */
@media (min-width: 1019px) and (max-width: 1199px) {
.menu-item-40484 {position: absolute;left: 52px;}
}
@media (min-width: 1019px) and (max-width: 1199px) {
.td-menu-wrap #td-top-menu {
padding-left: 70px;
}
When scrolling, the logo in the menu looks like this in Chrome (38):
<!– copy and paste. Modify height and width if desired. –>
and it looks like this in IE11…..:
<!– copy and paste. Modify height and width if desired. –>
-
This reply was modified 11 years by
atflaten.
Hi,
This usually happens when the image you have uploaded and set as a featured image is smaller than 745px width and 483px height. If you image is larger than the big slider’s big thumb wrap then you need to follow this guide and regenerate thumbnails: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
If is smaller and you don’t want to change it you can use css to stretch it to fit the container like this:
* http://screencast.com/t/ojYAYnplnxV
* http://screencast.com/t/NBUI8ve5YCDX
Please let me know if this helps!
Thanks
Hi,
@frasercarly89
You can change the icons style via css as all the social icons sprites are located within the theme files so you just need to alter the background image url and position to choose the icons style you want: http://screencast.com/t/Hfhs4ryi4L
The best way would be to inspect an icon style you like(like I did in the screenshot) and get the css you need from theme.
The color of the text can also be modified via css. If you don’t have any css/html knowledge we recommend you to hire a freelancer form site like: http://studio.envato.com/ because unfortunately we do not have time to do custom work as we work hard on the development, updates, fixes and support.
Hope this helps!
Thanks
child themes always point to their parent; basically they are a way to “over ride” the parent theme with templates, CSS, etc., but don’t directly change the dbase per se. But, yes, they share the same database as they are only a clever way to make customizations and then redirect to the main parent theme for everything else. The parent theme controls the dbase login/connections from the wp-config.php file.
For info on how WordPress works, always always always a great place to start is the massive online WordPress official “codex” like here:
http://codex.wordpress.org/Child_Themes
TIP: Google search anything WordPress related with coded on the end.
e.g., child themes codex
-
This reply was modified 11 years by
simchris.
Hi, best bet … don’t use demo content. Also don’t recommend using child theme until you’re more experienced.
With the Newspaper theme activated, go to bottom of the main admin panel for the theme, and note the section “import pre-defined styles” …. choose the “style” you like from the demo site, then activate that; and basically it loads all the CSS/fonts/layout choices from the demo “tech” … you then customize THAT version however you wish.
Hope that helped 🙂
I’m noticing through the custom Mobile CSS in VC, I have been able to do a decent job of controlling the portrait layout of the (iphone 4), but my landscape view (iphone 4) looks terrible, and needs similar adjustments yet.
How can I target revisions specific to the (iphone) landscape view?
Similar to the portrait/landscape variations of iPad, would love to see tagDiv incorporate something similar for mobile/phone/iphone (apologies, not really sensitive at this time to how the phone devices are grouped or referenced).
Thanks!
Thanks, Lucian!
Support here from tagDiv has been great!
Rather than using the big slide, or changing the php hard code… I opted for another solution.
I used the big slide as a “template” for what I wanted to achieve, and used VC to set 3 columns on the left (not sure if I am saying this right), and one column on the right. I then used Raw HTML widgets for the same effect. One Raw HTML widget on the left, and 3 on the right (one above the other vertically). I then coded for an image in each one. A large image on the left, and the 3 images automatically stacked vertically on the right.
Being somewhat new to wp, html/css… I realized I did not need 3 individual Raw HTML widgets on the right, and used one instead, and simply (and very easily) used html/css coding for images as one normally would for the same result.
Hello,
My website is http://www.livelovefruit.com
Use this page as a guide: http://livelovefruit.com/2014/10/tips-for-reducing-dry-skin/
I have a few questions:
1. How do I make it so that the social sharing buttons in the author box are in a different style (kind of like how you can choose the different style sharing tools for the footer – these ones seem to be in style 1…I would instead like it in style 3 or 4!)
2. How do I move my content.ad widget and my google adsense ad under the author box?
Content.ad allows me to post this: <?php do_action(‘contentad’); ?> in a template wherever I want, so that it will post where I want it to post, but I can’t find the proper area to post this in the CSS editor to make it go under the author box.
How would I make the google adsense ad display under the author box?
3. How do I make a separate title for the Author? For example:
Name: Carly Fraser
Title: CEO & Founder at Live Love Fruit
Biography: Carly Fraser has her BSc (Hons.) Degree in Neuroscience, and is the owner and founder at Live Love Fruit…
How do I make this secondary title appear? (the one bolded above)
Thanks so much!
Carly
FYI…
the only way to get a “perfect” score with PageSpeed Insights is to custom build a lean layout with few photos and css custom loading in steps for a) above the fold, b) after load; this is very complex and not suitable for sites with complex if/then/else customization front ends or page builder apps due to all the bloated code necessary for serving different masters. Any site which loads most of the CSS and related styles to get the page to render properly will end up getting an optimization warning, because the page is not custom built to render above the fold before the lower content. If you can hit 90+ on your desktop score and 85+ on mobile, you can live a happy life and not stress over it.
Hi,
The Visual Composer Frontend Editor button was removed from the theme as it’s not compatible with theme blocks.
I think you can leave it if you want, should work with the default elements.
You can enable it like this: http://screencast.com/t/ObPqoA4By
Regarding the CTA button please note that we plan to add a new grid which will support all VC elements so we have this on our todo list and we are working on it. Sorry for the inconvenience. You could try to use a plugin for that until we can provide a fix for this.
Regarding the other buttons you can import the Visual Composer css style sheet which will style all your buttons: https://forum.tagdiv.com/topic/buttons/#post-21825
Thanks
Just that I’m getting optimize css delivery for the css files even if they’re at bottom!
Hi,
In the last version of Visual Composer the classes have changed and some VC elements lost their css, we have this on our todo list and we are working on it unfortunately we still have incompatibility issues regarding VC style.
You can use this css to make the image rounded and center aligned: http://screencast.com/t/6dKQk5i9drr7
.vc_box_rounded {
border-radius: 4px;
}
.wpb_single_image.vc_align_center {
text-align: center;
}
Sorry about this and for the inconvenience.
Thanks
Hi Lucian,
Thanks for the customized CSS. It really helped us to get a good font size and font color in the desktop. The media CSS also works but I need the Module 7 in our mobile version homepage and I am not being able to figure out how to get that big image. What we have is this :
http://www.screencast.com/users/omnipundit/folders/Default/media/6565c2b9-dc3b-44e3-b9c3-458b09917cf6
What we want is this :
http://www.screencast.com/users/omnipundit/folders/Default/media/a450f9e4-0577-4061-946b-dbdbd45ba09e
The styling works but the we need help with the image on the mobile version.
Hi,
You can add and use the css in theme panel > custom css: http://screencast.com/t/sM1w04zHxM
.wp-caption-text {
position: relative;
bottom: 30px;
color: red;
}
Thanks
Hi,
The speedbooster plugin moves the style to the bottom of the page so this can be due to this as you probably have some custom css added in theme panel.. or this could be due to a plugin.
Please make sure first that this is due to the speedbooster plugin as this could cause conflicts with other plugins so empty all cache and also purge files if you use CDN, disable all plugins leaving active only the speedbooster plugin and visual composer and check for this again.
Hope this helps! Please let me know.
Thanks
Hi,
In the last version of Visual Composer the classes have changed and the buttons that we haven styled lost their css, we have this on our todo list and we are working on it unfortunately we still have incompatibility issues regarding VC style.
I can find a solution for this in this topic: https://forum.tagdiv.com/topic/buttons/#post-21804
The CTA button also not working at this time.
Sorry about this and for the inconvenience.
Thanks
Hi,
You can also add font-size to the previous css, you can see in the screen shot that it’s working, like this: http://screencast.com/t/kTVBraj7
For mobile phones use @media query’s to target the mobile screen width, like this: http://screencast.com/t/BaXmddf6
@media (max-width: 767px){
.home .span8 .td_block6 .td_mod9 .entry-title a {
font-family: Tahoma, Verdana, Geneva, sans-serif !important;
font-size: 10px;
color: red;
}
}
This css will affect only mobile screens, use it to style it as you like.
Thanks
Hi,
Thanks Christopher!
@famousproblems
Unfortunately from theme version 4.3 the fixed/responsive settings has been removed together with the 980px layout. We plan to rebuild the frontend in the future (next 2-3 months) and unfortunately we had to make this move.
You can edit the style.css file and remove the @media query’s if you want a non-responsive layout.
Sorry about this and for the inconvenience.
Thanks for understanding!
hi,
I’m not sure I understand, do you refer to this view: http://screencast.com/t/AZSpXWbMlPqK ?
It looks good to me, what css do you need?
Please let me know!
Thanks
Hi,
I believe you were referring to module8 -> block9 not block8 as I couldn’t find any block8 on your homepage so for the excerpt of block 9 you can use this css to hide it on your homepage: http://screencast.com/t/7XtvVTm2vSD
.home .td_mod8 .td-post-text-excerpt {
display: none;
}
Thanks
Hi,
Unfortunately that can’t be done as the blocks have the same class you can’t easily target them via css to change only a specific one. You can try to search for an advanced css selector which can help in your case an try to change one block as you like, I’m not sure though how this would have to be, probably something like this: http://screencast.com/t/pyo6b3r6
Hope this helps!
Thanks
Thanks Lucian. The CSS works but we are still not able to control the font size. In your previous CSS can you include a specific font size? We copied your CSS in the CUSTOM CSS area. Do you want to put it inside any specific page template for more flexibility?
Recently we were working on our mobile display of our website.What we are getting is like this :
http://www.screencast.com/users/omnipundit/folders/Default/media/bde94e22-abc9-43c1-bc3e-91ea6e83f9cb
But we want to change the mobile display to this: http://www.screencast.com/users/omnipundit/folders/Default/media/a450f9e4-0577-4061-946b-dbdbd45ba09e
So any suggestion as how we can change the display?
Thanks,
Ok. So I did everything which I had to do in regards to convert/ use custom fonts in Hindi.
I used custom fonts option and gave the link to .woff fonts. I did everything as mentioned in the tutorial, but still I do not see any changes. I even changed the font-face details in style.css with the code generated by webfont.
Not sure what to do.
I will be really grateful to you if you can please look into the issue and rectify it or let me know how to get it up and running.
If you want then I can provide you with my FTP details and WP-admin details as well. I am really frustrated and might lose a client of mine. Please assist.
This is what my solution in functions.php looks like (adapted from a stackoverflow thread). It looks like this: http://themedium.ca/arts/visual-studies-art-through-snail-mail
I removed the icon code here because you don’t have the assets or the CSS on your end, but if you want it, just ask.
// Show captions on template 4
// adapted from stackoverflow.com/questions/13850313/how-to-add-a-featured-image-caption-in-wordpress
function get_template4_caption($post) {
$thumbnail_id = get_post_thumbnail_id($post->ID);
$thumbnail_image = get_posts(array('p' => $thumbnail_id, 'post_type' => 'attachment'));
if ($thumbnail_image && isset($thumbnail_image[0]) && $thumbnail_image[0]->post_excerpt) {
return '<div class="template_4_caption"><span class="td-block-author"> . $thumbnail_image[0]->post_excerpt .'</div></span>';
}
}
In order to have it below the image, the function is called in single_template_4.php in each of the three sidebar cases, e.g. the last line here:
<?php
// we check the sidebar position and for each one we have a different case
switch ($loop_sidebar_position) {
default: // sidebar right - the default sidebar position
echo td_page_generator::wrap_start();
?>
<div class="span8 column_container td-post-content" role="main" itemprop="mainContentOfPage">
<?php echo get_template4_caption($post); ?> <!-- new -->
Note that you might still want to add some CSS styling for template_4_caption or whatever classes you choose to use, e.g. some margin-top to distance it from the image.
If you wanted it on the image like the rest of the meta info, you would have to adjust this placement and the styling.
That does help. Is there similar css for the month view as well?