- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Similar problem with mobile theme. It worked before upgrading to 8.5 but does not now.
Now it home page on my iPhone 8plus shows:
[vc_row][vc_column el_class=""][td_block_big_grid_3 category_id="4"][/vc_column][/vc_row][vc_row][vc_column el_class="layout" width="2/3"][td_block_22 limit=”1″ category_id=”18″][td_block_1 category_id="4" custom_title="" tdc_css="eyJhbGwiOnsiYm9yZGVyLWNvbG9yIjoiIzAwMDAwMCIsIndpZHRoIjoiNjAwIiwiZGlzcGxheSI6IiJ9fQ==" offset="5" category_ids="4,18"][td_block_6 limit="2" block_template_id="" category_id="" custom_title="" offset="10"][td_block_12 limit=”1″ offset=”12″ category_id=””][td_block_18 limit=”2″ offset=”13″ category_id=””][td_block_8 offset="1213" category_id="4" limit="6"][/vc_column][vc_column width="1/3"][vc_widget_sidebar sidebar_id="td-opinion-sidebar"][/vc_column][/vc_row]
If I go to the “full site” link my my phone I get the responsive page that should show as the home page on the mobile phone.
https://www.capitolhillblue.com
-
This reply was modified 8 years by
Doug Thompson.
Hi
Yes, we have several custom CSS. But they are all provided by you and your colleagues; meaning I am not a developer. From googeling I assume media queries are custom CSS as well, so I again ask if you kindly can provide me with the actual code.
If it is done in the theme panel, please advise which section and how to do this.
Thanks.
Can you provide me the css to make the background color of the mobile theme white? It seems to be currently set by default at grey and my bylines do not show up well. Thank you!
Hello,
Please paste this code in Theme Panel >> Custom Code >> Custom CSS
.td-related-title > .td-related-right {
display: none;
}
Hi,
That is a font icon predefined in the theme
– https://www.screencast.com/t/XuAnAnUHvutm
It is applied with CSS in the theme stylesheet
– https://www.screencast.com/t/7SxZYXmRW1r
So if you want to replace that icon with the word “Views” you could make the modification there, in the stylesheet. Or use a custom code like this to override it
– https://www.screencast.com/t/uE0eol92
.td-icon-views:before {
content: 'Views';
}
The code can be entered in Theme panel->CUStom CSS code.
Additional styling may be required since there is no theme style for displaying a word in that location.
Thanks
Hello admin_kh,
You can try using our Advanced Custom CSS and add your code in that fields from here -> https://www.screencast.com/t/sEBRb8D80vM according to your targeted device. Also, for more information about media queries, please check here -> https://www.w3schools.com/css/css_rwd_mediaqueries.asp
Hope this helps!
Thanks for the message!
Hello Ladiesabroad,
I have inspected your source page and I saw that you have some custom CSS code which overwrites the default theme settings as you can see here -> https://www.screencast.com/t/lWHPRSYBGYEs If you want to achieve good results for mobile devices, you should adjust the font-size and line-height using the media querries.
Thanks for the message!
Hi,
The easiest way would be to use Font awesome icons, like this
– https://www.screencast.com/t/GuoueFzXAk
Simply install the Font awesome 4 menus plugin and enter this code in Theme panel->Custom CSS section, the result should be like in the screenshot
ul.sf-js-enabled > li > a > i.td-icon-menu-down:before {
font-family: FontAwesome;
content: '\f067' !important;
}
The list of icon codes can be found here for example, so you could use any icon you want
– http://astronautweb.co/snippet/font-awesome/
Thanks
Hello,
This effect can be seen when changing the header color multiple times. The default color is blue, then you change it to green and on mobile change it to black. CSS works in cascades. If an element is changed many times, you will be able to see the changes as the code loads up.
Also using speedbooster and moving the css to the footer, it will load slower.
Also your page seed influences the css load so please follow google.s advice: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fbestlavka.ru%2F&tab=desktop
Please use this guide: https://forum.tagdiv.com/how-to-make-the-site-faster/
Thank you!
Please provide a link to your site so I can inspect the css and see why it does not apply.
Thank you!
Hello,
I have done fresh localhost install to test the latest version before I can implement on live server.
If I rename theme name from newspaper to something else and also update style.css with new theme name.
Installed Retro Demo and got error on home page
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: tdm_header_style_3 is not set.
C:\Program Files\VertrigoServ\www\demo\wp-content\themes\inkoholics\includes\wp_booster\td_api.php
wp booster error:
td_api_base::get_key : a component with the ID: tdm_header_style_3 Key: file is not set.
C:\Program Files\VertrigoServ\www\demo\wp-content\themes\inkoholics\includes\wp_booster\td_api.php
While if I revert back to original theme name Newspaper, I dont see any error and demo works perfectly.
Is there anyway you can fix the issue and make theme compatible with any theme name because I dont want my competitors to know which theme I am using.
Hello Alan,
It is not the custom class that breaks the layout. It is the css you created for that class that does. Please remove your code from the custom code section. A simple extra class has absolutely no influence over the css. Please add a completely new class, one that you did not use in the custom code section and you did not apply any css to.
Css is very complex and very specific. Please use the browser inspector to test your code first.
Thank you!
Hi,
Then you could enter the code in the Advanced CSS desktop section. This way the code will not affect the mobile version. Enter it without any media queries, they are not necessary there.
So remove it from there and enter this one in the desktop section in Advanced CSS, it should work properly
.td-header-style-9 .header-search-wrap {
right: 168px;
}
Thanks
Thank,
but can we change @media screen ipad to collapse as mobile phone?
if can could you guide me how to custom css.
ah I see I have the google code, but I disable it on desktop to save the theme but rather have it enabled on everything else… the Css trick worked
Hi. I’ve applied the suggested CSS to the custom code via the theme, to the editor-style.css file, to the CSS Customizer in WP, etc. and none of these override your theme’s settings in mce; the blockquotes when using the mce editor are still blue, all caps, centred.
Do you have any suggestions to try to force the CSS to apply in mce please?
Thanks, i changed “uppercase” directly from theme panel (under theme fonts> post content> default blockquote >Transform). Now, i want to make the blockquote “full width” of post container. I tried with left alignment but the box remain centered and it doesn’t become full width. I tried to add “width: 100%;” in custom CSS but it doesn’t work. Can you help me?
Theme is missing the style.css stylesheet error:
hi,
i tried to customize a category menu color on menu…
i added a custom css name in menu item
and added this on custom css
but it doesnt work…
.faenza
{color: #ff0000 !important;}
what’s the error?
Hi,
@ianternet I believe you are referring to the margin after the header. It seems there is a header ad code entered in the theme panel, but the ad is not displaying. The theme detects it and ads a margin top, see header style 6 here
– https://forum.tagdiv.com/header-styles/
There is an approval period before Google ads are displayed on the website, it may take a while according to them
– https://support.google.com/adsense/answer/76228?hl=en
I could give you a code to remove that margin
– https://www.screencast.com/t/56I9eni8E
@media (min-width: 1019px) {
.td-header-style-6 .td-header-sp-recs {
margin-top: 0!important;
}}
Enter the code in Theme panel->Custom CSS section if you decide to use it.
Thanks
I thought I had a solution to the problem of an unsightly header in a column text block with a border. Instead, adding an extra css class to any column text block, placed anywhere, top to bottom, in the first column using tagdiv composer breaks the 2 column layout, pulling all blocks into the first column and corrupting the header at the top of the second column. (column layout 2+1 with sticky column on front page, using your special class name for the row to get the column to work. I also have a full width row with a banner article above the 2+1 row.)
Details: Padding a text box with a border to move the text away from the border edges unfortunately also pads the header, which leaves an unsightly white strip beside it (using your default header, or any other header with a coloured background). The solution seemed to me to add an extra class to the text box (I tried several class names, all broke the column layout, whether or not there was any custom css composed for them.) The intent in css was: .adjust-title-somewhat.block-title {
margin-left:-4px;
}
The simple custom css ‘block.text {margin-left:-4px}’ works fine an all titles, unfortunately, as I have several titles not within a block and they promptly adjust leftward too. So, giving the titled block an extra class – a slight nuisance – seemed a solution to pinpoint the css change to that class only. (There may be a better way using a default parent class that identifies block titles from stand-alone titles, but I haven’t figured that out.)
At any rate, whether there is css information in the custom css for the ‘column text block’ particular extra class name or not, the simple presence of an extra class name in any column text block seems to completely screw up the layout once it is saved.
Ideas? Another way of preventing/removing the unsightly padding (or margining) of the title? Needless to say I do NOT want to go with a title without a background color, which would at least mask the title problem.
Regards,
Alan
Hi,
It may require some m ore modifications. When creating the demo the team made sure that the code will only apply for that particular block, and not affect other similar type blocks.
I have modified the code (no need to enter the body class), the result is like this
– https://www.screencast.com/t/KoWO4kfScTW
Now this code once entered in the custom CSS section will apply to all blocks 15. This is the code
– https://pastebin.com/zSsr9dUb
It could be made more specific by modifying it again, for example by using the page ID in the code (it will apply only in that page)
– https://www.screencast.com/t/Xv788tPas
That page ID class will have to be entered before every line. Hope this helps.
Thanks
i just bought the Newspaper 8.5 Theme
I tried to install it on a german WordPress site and get the Error massage that the css file ist missing.
Can you please help me
Hi,
Please try entering this code in Theme panel->Custom CSS section, it should fix the problem with block 16
– https://www.screencast.com/t/dXPFP84Gf
@media (max-width: 767px) {
.td_block_16 .td-block-row [class*="td-block-span"] {
float: left;
}}
Please let us know if there still is a problem.
Thanks
Hi,
I have inspected the website you provided, seems there are some conditions that are affecting the header search on mobile
– https://www.screencast.com/t/Q3LcbGAb13e
These codes are overriding the default theme conditions, if you were to remove them the result will be like this
– https://www.screencast.com/t/yW3WfxdC6O
I could give you a code to further override these but it would be better to remove the customization. Please check the theme custom CSS code section and remove these codes if they are located there.
Thanks