{"id":85385,"date":"2021-09-16T16:18:32","date_gmt":"2021-09-16T14:18:32","guid":{"rendered":"https:\/\/www.exoclick.com\/10-native-custom-css-code-ideas-for-publishers\/"},"modified":"2024-03-21T10:50:34","modified_gmt":"2024-03-21T09:50:34","slug":"10-native-custom-css-code-ideas-for-publishers","status":"publish","type":"post","link":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/","title":{"rendered":"10 Native ad zone custom CSS ideas for Publishers"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Improving how your Native ad zones are displayed can help the ads blend more into the style of your website. This creates a better user experience and can increase eCPMs, check out our Case Study: <\/span><a href=\"https:\/\/www.exoclick.com\/zh-hans\/case-study-how-3-publishers-increased-native-ad-zone-cpms\/\"><span style=\"font-weight: 400;\">How 3 publishers increased Native ad zone CPMs<\/span><\/a><span style=\"font-weight: 400;\">. It&#8217;s easy to use custom CSS code to improve the impact of how your Native ad zones are displayed and this blog post contains 10 ideas with the code you need to apply the changes.<\/span><\/p>\n<p><b>1 &#8211; Reduce the height of the text box:\u00a0<\/b><span style=\"font-weight: 400;\">You can use CSS code to change the size of the text box below the image of your native ad zone.<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85296 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1.png\" alt=\"Reduce the height of the text box custom CSS code\" width=\"1199\" height=\"562\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1.png 1199w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-300x141.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-1024x480.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-150x70.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-768x360.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-720x337.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-530x248.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-1067x500.png 1067w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-320x150.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-820x384.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS1-1-516x242.png 516w\" sizes=\"(max-width: 1199px) 100vw, 1199px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85276\" data-id=\"85276\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85276\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css1\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS1\"> .exo-native-widget-item-content {\r\n      height: 50px  !important;\r\n   }\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>2 &#8211; How to place the text box over the image:\u00a0<\/b><span style=\"font-weight: 400;\">In your admin panel the default setting in the Native zone set up will display an image and then below the texts for Title and Description. But you can also use CSS code to move the text to show over the image.<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85304 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2.png\" alt=\"text box over the image custom CSS code\" width=\"1200\" height=\"325\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2.png 1200w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-300x81.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-1024x277.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-150x41.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-768x208.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-720x195.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-530x144.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-320x87.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-820x222.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS2-526x142.png 526w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85277\" data-id=\"85277\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85277\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css2\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS2\">  .exo-native-widget-item-content {\r\n      position: absolute !important;\r\n      bottom: 0px  !important;\r\n      z-index: 3  !important;\r\n      top: unset  !important;\r\n      height: 50px  !important;\r\n   }\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>3 &#8211; Place the text box over the image with a background opacity:\u00a0<\/b><span style=\"font-weight: 400;\">If you want to place the text over the image, sometimes it can be hard to read the text so this CSS code allows a transparent\/semi-transparent background behind the text.<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85312 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3.png\" alt=\"text box over the image with a background opacity custom CSS code\" width=\"1200\" height=\"342\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3.png 1200w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-300x86.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-1024x292.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-150x43.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-768x219.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-720x205.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-530x151.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-320x91.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-820x234.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS3-526x150.png 526w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85278\" data-id=\"85278\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85278\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css3\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS3\">  .exo-native-widget-item-content {\r\n      position: absolute !important;\r\n      bottom: 0px  !important;\r\n      z-index: 3  !important;\r\n      top: unset  !important;\r\n      height: 50px  !important;\r\n      background-color: black !important;\r\n      opacity: 0.7 !important;\r\n   }\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>4 &#8211; Customize the background colour of the text box:\u00a0<\/b><span style=\"font-weight: 400;\">You can change the text boxes background colour while keeping the space between each image and text box transparent or with a different colour with this CSS code, we kept it transparent in our example below:<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85320 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4.png\" alt=\"Customize the background colour of the text box custom CSS code\" width=\"1199\" height=\"378\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4.png 1199w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-300x95.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-1024x323.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-150x47.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-768x242.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-720x227.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-530x167.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-320x101.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-820x259.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS4-526x166.png 526w\" sizes=\"(max-width: 1199px) 100vw, 1199px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85279\" data-id=\"85279\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85279\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css4\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS4\">  .exo-native-widget-item-content {\r\n    background-color: #ABE1FA !important;\r\n}\r\n\r\n  .exo-native-widget-outer-container {\r\n    background-color: white !important;\r\n    padding: 10px !important;\r\n}\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>5 &#8211; Customise the text font:\u00a0<\/b><span style=\"font-weight: 400;\">You can set the font used for the Title and Description to the same font you use on your website using this CSS code.<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85328 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5.png\" alt=\"Customise the text font custom CSS code\" width=\"1200\" height=\"365\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5.png 1200w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-300x91.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-1024x311.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-150x46.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-768x234.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-720x219.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-530x161.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-320x97.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-820x249.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS5-526x160.png 526w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85280\" data-id=\"85280\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85280\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css5\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS5\">  .exo-native-widget-item-title, .exo-native-widget-item-text, .exo-native-widget-item-brand {\r\n   font-family: fantasy !important;\r\n}\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>6 &#8211; Set the colour of &#8220;Powered by ExoClick&#8221;: <\/b><span style=\"font-weight: 400;\">If an end user knows that they are viewing an ad because the Native zone features \u2018Powered By ExoClick\u2019 you will generate more quality clicks, which is better for advertisers, because the end user will only click if they are interested in the ad. This CSS code enables you to change its colour.<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85336 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6.png\" alt=\"colour of Powered by ExoClick custom CSS code\" width=\"1199\" height=\"364\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6.png 1199w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-300x91.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-1024x311.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-150x46.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-768x233.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-720x219.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-530x161.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-320x97.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-820x249.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS6-526x160.png 526w\" sizes=\"(max-width: 1199px) 100vw, 1199px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85281\" data-id=\"85281\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85281\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css6\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS6\">.exo-native-widget-header{\r\n        color: #0073B7 !important;\r\n    }\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>7 &#8211; Place the &#8220;Powered By ExoClick&#8221; over the image:\u00a0<\/b><span style=\"font-weight: 400;\">If space is an issue you can place it over the image with this CSS code.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85344 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7.png\" alt=\"Powered By ExoClick over the image custom CSS code\" width=\"1198\" height=\"349\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7.png 1198w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-300x87.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-1024x298.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-150x44.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-768x224.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-720x210.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-530x154.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-320x93.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-820x239.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS7-526x153.png 526w\" sizes=\"(max-width: 1198px) 100vw, 1198px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85282\" data-id=\"85282\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85282\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css7\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS7\"> .exo-native-widget-header {\r\n   position: absolute !important;\r\n   z-index: 3 !important;\r\n}\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>8 &#8211; Make the corners of the images rounded:\u00a0<\/b><span style=\"font-weight: 400;\">The default setting in your admin panel is a<\/span> <span style=\"font-weight: 400;\">squared image, but you can make the corners rounded with this CSS code.<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85352 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8.png\" alt=\"corners of the images rounded custom CSS code\" width=\"1200\" height=\"372\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8.png 1200w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-300x93.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-1024x317.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-150x47.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-768x238.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-720x223.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-530x164.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-320x99.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-820x254.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS8-526x163.png 526w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85283\" data-id=\"85283\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85283\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css8\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS8\">.exo-native-widget-item-image {\r\n    border-radius: 5% important;\r\n  }\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>9 &#8211; Change the padding:\u00a0<\/b><span style=\"font-weight: 400;\">You can change the padding between the image and the text, so that the text is closer or further away from the image.<\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85360 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9.png\" alt=\"Change the padding custom CSS code\" width=\"1198\" height=\"423\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9.png 1198w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-300x106.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-1024x362.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-150x53.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-768x271.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-720x254.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-530x187.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-320x113.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-820x290.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS9-526x186.png 526w\" sizes=\"(max-width: 1198px) 100vw, 1198px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85284\" data-id=\"85284\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85284\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css9\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS9\">  .exo-native-widget-item-content {\r\n    padding-top: 30px !important;\r\n}\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p><b>10 &#8211; Set a border around each image and text box within the Native widget<\/b><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-85368 size-full\" src=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10.png\" alt=\"Set a border custom CSS code\" width=\"1200\" height=\"421\" srcset=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10.png 1200w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-300x105.png 300w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-1024x359.png 1024w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-150x53.png 150w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-768x269.png 768w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-720x253.png 720w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-530x186.png 530w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-320x112.png 320w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-820x288.png 820w, https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/CSS10-526x185.png 526w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-85285\" data-id=\"85285\" data-edit=\"\" data-copy=\"\/zh-hans\/wp-json\/wp\/v2\/posts\/85385?snippet=42b5d5ae53&#038;id=85285\" data-fullscreen=\"https:\/\/www.exoclick.com\/zh-hans\/code-snippets\/native-css10\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-html\" title=\"Native CSS10\">.exo-native-widget-item-container {\r\n    border: 2px #0073B7 solid !important;\r\n}\r\n<\/pre>\n\t\t\t<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom CSS code will improve the performance of your Native ad zones and this blog post contains 10 ideas with the code you need to apply the changes.<\/p>\n","protected":false},"author":20,"featured_media":85377,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[441,442,1130,467],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.4 (Yoast SEO v18.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"Custom CSS code will improve the performance of your Native ad zones and this blog post contains 10 ideas with the code you need to apply the changes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"10 Native ad zone custom CSS ideas for Publishers - ExoClick\" \/>\n<meta property=\"og:description\" content=\"Custom CSS code will improve the performance of your Native ad zones and this blog post contains 10 ideas with the code you need to apply the changes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/\" \/>\n<meta property=\"og:site_name\" content=\"ExoClick\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-16T14:18:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-21T09:50:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/10-Native-ad-zone-custom-CSS-ideas.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juanma Cortes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.exoclick.com\/#organization\",\"name\":\"ExoClick\",\"url\":\"https:\/\/www.exoclick.com\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.exoclick.com\/#logo\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2015\/04\/exoclick_new_baseline.png\",\"contentUrl\":\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2015\/04\/exoclick_new_baseline.png\",\"width\":1500,\"height\":613,\"caption\":\"ExoClick\"},\"image\":{\"@id\":\"https:\/\/www.exoclick.com\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.exoclick.com\/#website\",\"url\":\"https:\/\/www.exoclick.com\/\",\"name\":\"ExoClick\",\"description\":\"The innovative ad network\",\"publisher\":{\"@id\":\"https:\/\/www.exoclick.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.exoclick.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#primaryimage\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/10-Native-ad-zone-custom-CSS-ideas.png\",\"contentUrl\":\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/10-Native-ad-zone-custom-CSS-ideas.png\",\"width\":1024,\"height\":576,\"caption\":\"Native Custom CSS\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#webpage\",\"url\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/\",\"name\":\"10 Native ad zone custom CSS ideas for Publishers - ExoClick\",\"isPartOf\":{\"@id\":\"https:\/\/www.exoclick.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#primaryimage\"},\"datePublished\":\"2021-09-16T14:18:32+00:00\",\"dateModified\":\"2024-03-21T09:50:34+00:00\",\"description\":\"Custom CSS code will improve the performance of your Native ad zones and this blog post contains 10 ideas with the code you need to apply the changes.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.exoclick.com\/zh-hans\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"10 Native ad zone custom CSS ideas for Publishers\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.exoclick.com\/#\/schema\/person\/86c17743ee91b9d52e7b648e03a56168\"},\"headline\":\"10 Native ad zone custom CSS ideas for Publishers\",\"datePublished\":\"2021-09-16T14:18:32+00:00\",\"dateModified\":\"2024-03-21T09:50:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#webpage\"},\"wordCount\":503,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.exoclick.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/10-Native-ad-zone-custom-CSS-ideas.png\",\"articleSection\":[\"Native\",\"Platform features\",\"Publisher tips\",\"Tutorial\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.exoclick.com\/#\/schema\/person\/86c17743ee91b9d52e7b648e03a56168\",\"name\":\"Juanma Cortes\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.exoclick.com\/#personlogo\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/www.exoclick.com\/wp-content\/uploads\/cache\/2017\/10\/juanma-small\/392160680.jpg\",\"contentUrl\":\"https:\/\/www.exoclick.com\/wp-content\/uploads\/cache\/2017\/10\/juanma-small\/392160680.jpg\",\"caption\":\"Juanma Cortes\"},\"description\":\"Head of Technical Support\",\"url\":\"https:\/\/www.exoclick.com\/zh-hans\/author\/juanma-cortes\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"description":"Custom CSS code will improve the performance of your Native ad zones and this blog post contains 10 ideas with the code you need to apply the changes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/","og_locale":"zh_CN","og_type":"article","og_title":"10 Native ad zone custom CSS ideas for Publishers - ExoClick","og_description":"Custom CSS code will improve the performance of your Native ad zones and this blog post contains 10 ideas with the code you need to apply the changes.","og_url":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/","og_site_name":"ExoClick","article_published_time":"2021-09-16T14:18:32+00:00","article_modified_time":"2024-03-21T09:50:34+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/10-Native-ad-zone-custom-CSS-ideas.png","type":"image\/png"}],"twitter_misc":{"Written by":"Juanma Cortes","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.exoclick.com\/#organization","name":"ExoClick","url":"https:\/\/www.exoclick.com\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.exoclick.com\/#logo","inLanguage":"zh-CN","url":"https:\/\/www.exoclick.com\/wp-content\/uploads\/2015\/04\/exoclick_new_baseline.png","contentUrl":"https:\/\/www.exoclick.com\/wp-content\/uploads\/2015\/04\/exoclick_new_baseline.png","width":1500,"height":613,"caption":"ExoClick"},"image":{"@id":"https:\/\/www.exoclick.com\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.exoclick.com\/#website","url":"https:\/\/www.exoclick.com\/","name":"ExoClick","description":"The innovative ad network","publisher":{"@id":"https:\/\/www.exoclick.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.exoclick.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"ImageObject","@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#primaryimage","inLanguage":"zh-CN","url":"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/10-Native-ad-zone-custom-CSS-ideas.png","contentUrl":"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/10-Native-ad-zone-custom-CSS-ideas.png","width":1024,"height":576,"caption":"Native Custom CSS"},{"@type":"WebPage","@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#webpage","url":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/","name":"10 Native ad zone custom CSS ideas for Publishers - ExoClick","isPartOf":{"@id":"https:\/\/www.exoclick.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#primaryimage"},"datePublished":"2021-09-16T14:18:32+00:00","dateModified":"2024-03-21T09:50:34+00:00","description":"Custom CSS code will improve the performance of your Native ad zones and this blog post contains 10 ideas with the code you need to apply the changes.","breadcrumb":{"@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.exoclick.com\/zh-hans\/"},{"@type":"ListItem","position":2,"name":"10 Native ad zone custom CSS ideas for Publishers"}]},{"@type":"Article","@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#article","isPartOf":{"@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#webpage"},"author":{"@id":"https:\/\/www.exoclick.com\/#\/schema\/person\/86c17743ee91b9d52e7b648e03a56168"},"headline":"10 Native ad zone custom CSS ideas for Publishers","datePublished":"2021-09-16T14:18:32+00:00","dateModified":"2024-03-21T09:50:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#webpage"},"wordCount":503,"commentCount":0,"publisher":{"@id":"https:\/\/www.exoclick.com\/#organization"},"image":{"@id":"https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.exoclick.com\/wp-content\/uploads\/2021\/09\/10-Native-ad-zone-custom-CSS-ideas.png","articleSection":["Native","Platform features","Publisher tips","Tutorial"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.exoclick.com\/zh-hans\/10-native-custom-css-code-ideas-for-publishers\/#respond"]}]},{"@type":"Person","@id":"https:\/\/www.exoclick.com\/#\/schema\/person\/86c17743ee91b9d52e7b648e03a56168","name":"Juanma Cortes","image":{"@type":"ImageObject","@id":"https:\/\/www.exoclick.com\/#personlogo","inLanguage":"zh-CN","url":"https:\/\/www.exoclick.com\/wp-content\/uploads\/cache\/2017\/10\/juanma-small\/392160680.jpg","contentUrl":"https:\/\/www.exoclick.com\/wp-content\/uploads\/cache\/2017\/10\/juanma-small\/392160680.jpg","caption":"Juanma Cortes"},"description":"Head of Technical Support","url":"https:\/\/www.exoclick.com\/zh-hans\/author\/juanma-cortes\/"}]}},"_links":{"self":[{"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/posts\/85385"}],"collection":[{"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=85385"}],"version-history":[{"count":3,"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/posts\/85385\/revisions"}],"predecessor-version":[{"id":85409,"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/posts\/85385\/revisions\/85409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/media\/85377"}],"wp:attachment":[{"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=85385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=85385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.exoclick.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=85385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}