- NewspaperCreate Custom Code with the browser’s Inspector or the Live CSS Box
- NewspaperScroll Animation
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperHow to setup Twitch for Social Counter
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperAutoptimize Plugin – install and configuration
- NewspaperAdding Multiple Authors to Your Articles
- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspaperBig Grid Flex Settings
- NewsmagtagDiv Composer Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewspapertagDiv Composer Tutorial
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewspaperThe Mobile Theme
- NewspaperCompare theme files – Winmerge tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
Hi,
@Camy
Usually the .td_revolution_slider {z-index: 0;} css fixes this, please send me your site’s link so I can inspect this and can provide you a solution for this.
Thanks
I keep a folder with copies of the files I hack each update so I can remember them at a glance, a text file with my additions to put at bottom of functions.php and note as to which section by line number x-x to remove; and a text file with cheat sheet of the search/replace for the style.css file. Not too painful. Kind of started when I had existing read/hit counter and needed to update the module to load the existing “field” vs the one used by Newspaper for hit counting. Then it was uncommenting the author byline each time in the main post file. Then it was the custom font loading. Well, there you are. As long as I have my local “cheats” folder, I can usually open two windows with both old stuff and new version of theme and then just top to bottom change stuff in new update folder, and then upload to server and it’s like nothing changed for the stuff I modified.
And, benefit is the style redirect issue that Google doesn’t like with child themes, and much easier to deal with any custom css over-rides as well as issues with tagdiv’s in house speedbooster plugin, etc.
At least this has been my experience 🙂
My hard work has pay off my google score is very nice…
Mobile score 94%

Desktop Score 95%

I don’t really know how to fix the left problem; I would probably just drop the CSS for the horizontal whitespace since it’s likely to break the grid. Or at least limit it by screen size:
@media (min-width: 1019px) {
.span1, .span3, .span4, .span6, .span8, .span9, .span11, .span12 { margin-left: 20px !important; }
}
Space between menu and content, in four directions so you can adjust more easily:
.td-grid-wrap {
padding: 0px 0px 0px 0px;
}
Hi Guys,
Just wanted to let you know that I was able to fix it. What I had to do was completely change all font-family code on the main themes style sheet, make all the child theme settings in the theme panel the same font, and do custom css in the child theme for h1 – h6.
That’s a lot of time and work just so things so correctly in IE.
Thanks,
Suzanne
-
This reply was modified 11 years by
SuzanneL.
I needed this also, and the example provided in the screenshots above worked first time out.
Basically you’re wrapping a span class for the button in the anchor link, vs using a shortcode for the button. The example does not use the shortcode which I think is where you’re getting hung up here.
Think of it this way, and this is not the explicit example from Lucian’s code, just simpler way of showing what is happening, while *not* using a shortcode. And be sure to do in text editor mode, not visual editor mode as you’re working with plain HTML/CSS.
<a href=""><span button class></span></a>
-
This reply was modified 11 years by
simchris.
Hi there, i dont want to open a new post since my problem is the same as Shashank.
I was able to implement all the css and js to the speed booster file, but cant find the IDs for
http://www.techizm.com/…-includes/js/jquery/jquery.js?ver=1.11.0
http://www.techizm.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1
Could anyone help me?
Thanks in advance!
Hi TheMediumUTM;
Thank you again.
Now it looks good and I like it. As you can see there is little problem that is margin from the left and the space between the header and block slide.
When I checked how the site apears on mobile the margin left problem seem clear.
This is what i did. I put all the css codes together, changed px values, copied all of them and pasted in theme panels costom css area.
.span1, .span3, .span4, .span6, .span8, .span9, .span11, .span12 { margin-left: 20px !important; }
.block-title { margin-bottom: 10px; padding-bottom: 10px; }
.td_mod_wrap .meta-info {display: none !important;}
.td_block_wrap { margin-bottom: 0px; padding-bottom: 10px; }
.td_mod_wrap { margin-bottom: 10px; }
.td_mod1, .td_mod2, .td_mod3, .td_mod4, .td_mod5, .td_mod6, .td_mod7, .td_mod8, .td_mod9 { margin-bottom:
10px!important; }
.td_mod_wrap .thumb-wrap { margin-bottom: 10px; }
.wpb_row { margin-bottom: 10px; }
.td_mod3 { min-height: 65px; }
Regards
Ecofame
th = table header
tr = table row
td = table cell
You may want to do a search online for how CSS3 tables work.
Example:
table, th, td {
border: 1px solid black;
}
Not sure, but the theme might support Bootstrap 3 common table styles like so:
class="table table-bordered"
ref: http://getbootstrap.com/css/#tables
Hope that helped 🙂
-
This reply was modified 11 years by
simchris.
It’s a little bit of custom work, so if you aren’t comfortable coding you’ll have to find someone. I did this recently and my own steps were:
1. Replaced searchform.php with my own (so widgets would be replaced with mine too; not necessary, you could just use the theme default)
2. Edited the div for the search out of the menu in menu-header.php and menu-header-center.php (one or the other, I forget which), and instead had a div that uses the WP function get_search_form()
3. Styled my new div using CSS to sit at the right of the menu, use my own icon, etc.
It definitely does work; a large number of us use it 🙂
The most common reason I’ve heard for the result you’re describing is that you have minifying CSS and/or JS turned on in W3 Total Cache. Not all themes play well with minifying.
when running my site through the http://validator.w3.org i get a ton of errors
one that i am sure is not caused by me is this one:
Bad value for attribute href on element link: Must be non-empty.
rel=”stylesheet” href=”” type=”text/css” /><link
what causes this error? how can this be solved?
btw: even the demo http://demo.tagdiv.com/newspaper/ has 44 errors following the w3 validator
Good afternoon,
I would like to add just below “Deja un comentario” a text box like the one in the attached screenshot, how could it?
From what I’ve been researching, I have to edit the comments.php to put the phrase I want and then give style in style.css
Can you help me? thank you very much.
Hi,
@Rodney828 You can also hide the title via css, use this custom css for that:
.td-page-title {
display: none;
}
Use and add this unique class: http://screencast.com/t/V2MQIrpSL8A to target just the page you want to hide the title on.
Or you can search for a plugin that dose that or similar.
Thanks for the message!
Hi,
Thanks Christopher!
@SuzanneL
If you use the child theme you need to add the css here, like this: http://screencast.com/t/NBAIpyzRRA
Try to activate the main theme, then you will find the style.css in the root of the theme: http://screencast.com/t/5vUswQG54edY
Thanks
Hi,
You can change this via css, create your own custom css and add it in theme panel > custom css, like this: http://screencast.com/t/I2RVnQo90Kt
.td_block2 {
background-color: aqua;
}
.td_block4 {
background-color: red;
}
Result: http://screencast.com/t/NYcWkPbE
For the distance between blocks use the .td_block_wrap class to target the blocks and set margin and padding to 0 or as you like:
.td_block_wrap {
padding-bottom: 0px;
margin-bottom: 0px;
}
Please send me a link to your site if this dose not work.
Thanks
hi,
Please follow this topic, I have about how you can do this: https://forum.tagdiv.com/topic/background-of-menu-header-sidebar-and-ect/#post-20422
On post pages you can use this css:
.td-post-sidebar {
background-color: red;
}
Thanks
Hi,
Please use this custom css:
.td-menu-center {
position: relative;
}
.menu-item-91250 {
position: absolute !important;
left: 40px;
}
Should work like this: http://screencast.com/t/nixkjlLffOU
Thanks
Hi,
Please use this custom css:
.page #jig1 .jig-caption-wrapper {
z-index: 0;
}
Should work like this: http://screencast.com/t/7uJXbrQH
Thanks
I got an issue by styling my tables. I’m not good at coding but I added the CSS:
th {
border-width: 1px;
border-color: #d8d5d4;
}
(btw: why th and not td)
But my tables still don’t have a border. Like here:
https://www.dropbox.com/s/x9vqw73o3mf74f8/table.jpg?dl=0
Link to article: http://viel-unterwegs.de/copenhagen-card-lohnt-sich-sparen/
Hi,
Please use this custom css, in theme panel > custom css:
.td-page-title {
margin: 0px 0px 3px 0px;
}
.td_980_not_resp .td-grid-wrap {
padding: 0px 0px 0px 0px !important;
}
Should work like this: http://screencast.com/t/4DtivQhMarv1
Thanks
Hi there,
as soon as I make changes in Theme Panel > categories, such as the individual category view, sidebar etc, the next thing happens is that, Theme Panel from WP comes up with 404 error page. checked in Console of Inspect Element, it says “Failed to load resource: the server responded with a status of 404 (Not Found): http://e02496a4fb19221a63c8-0657d4da6f2e0386e9d98f2144ec35be.r10.cf6.rackcdn.com/wp-content/uploads/smile_fonts/Defaults/Defaults.css?ver=4.0
Although, prior to the changes made in Theme Panel, everything’s been working fine, no issue with my CDN, nothing whatsoever.
It happened once before, I had to reinstall WP, theme etc and restart all over again, as WP backup restore doesn’t restore everything properly. But this time I cannot afford to lose my work.
your help would be highly appreciated.
regards,
Mr Hossain
Hi,
It would be easier to hide the sub footer on desktop, you can use custom css to hide it only on desktop:
@media (min-width: 1200px) {
.td-sub-footer-wrap {
display: none;
}
}
Hope this helps!
Thanks
So you pretty much want all the whitespace gone at once? That’s a lot of CSS; here’s my shot at it.
First, still keep this:
.td_mod_wrap .meta-info {
display: none !important;
}
Now:
.td_block_wrap {
margin-bottom: 0px;
padding-bottom: 0px;
}
.td_mod_wrap {
margin-bottom: 0px;
}
.td_mod1, .td_mod2, .td_mod3, .td_mod4, .td_mod5, .td_mod6, .td_mod7, .td_mod8, .td_mod9 {
margin-bottom: 0px!important;
}
.block-title {
margin-bottom: 0px;
padding-bottom: 0px;
}
.td_mod_wrap .thumb-wrap {
margin-bottom: 0px;
}
.wpb_row {
margin-bottom: 0px;
}
.td_mod3 {
min-height: 65px;
}
This removes all the whitespace that I could see on your homepage. As others have said, I actually think this is way too dense a style. Having some whitespace is good!… Play with the above numbers until you’re happy with it.
This last bit is the whitespace between vertical elements. It’s experiemntal and I haven’t tested it thoroughly. It’s tricky to get rid of this because it does not play well with the grid layout that the whole theme is designed around (and doesn’t change the overall site width, e.g. your main menu). I would personally avoid using it.
.span1, .span3, .span4, .span6, .span8, .span9, .span11, .span12 {
margin-left: 0px !important;
}
Again, change that number and if necessary separate the individual span classes so you can adjust their margins individually.
Note that it looks like you have a row after your video in the page editor, which is the source of the whitespace between that and the footer. You also have a text widget in the sidebar, which is the source of the whitespace above the socials widget.
There may also be whitespace elsewhere on your site that’s not on the homepage. Most of it would be caught by the above, I think…
Ah, you’re using a child theme. I don’t use child themes due to these kinds of issues, because the css is basically a “redirect” to the main CSS, and Google ‘frowns” on CSS redirects even though WordPress loves them.
So, that might or might not be the issue. The style.css I was referring to is the “main” one in the main theme, not the child theme.
I no longer use child themes, to achieve better pagespeed, so I guess I’m out on any help for this one 🙂