{"id":857,"date":"2024-07-02T12:02:37","date_gmt":"2024-07-02T12:02:37","guid":{"rendered":"https:\/\/www.yellowfalconmedia.com\/blog\/2024\/07\/02\/modifying-css-in-wordpress-theme-cms-wordpress-sitepoint\/"},"modified":"2024-07-02T12:02:37","modified_gmt":"2024-07-02T12:02:37","slug":"modifying-css-in-wordpress-theme-cms-wordpress-sitepoint","status":"publish","type":"post","link":"https:\/\/www.yellowfalconmedia.com\/blog\/2024\/07\/02\/modifying-css-in-wordpress-theme-cms-wordpress-sitepoint\/","title":{"rendered":"Modifying CSS in WordPress theme &#8211; CMS &amp; WordPress &#8211; SitePoint"},"content":{"rendered":"<p><em>Discussion continued from <a href=\"https:\/\/www.sitepoint.com\/community\/t\/w3c-validator-reliability\/436479\/31\" class=\"inline-onebox\">W3C validator reliability? &#8211; #31 by Archibald<\/a><\/em><br \/>As the errors do not seem to be affecting the appearanc<br \/>Could they be affecting the performance or SEO of the page?<br \/>I have a problem with the text displayed in the article post. In the CSS, I\u2019ve included these styles to format it by default, but on its desktop version, the text appears very small. Is there any other element in the stylesheet preventing the text of the last post from appearing like the penultimate one without the need for inline CSS, giving it the same size and default justification? [<a href=\"https:\/\/www.fotov60.com\/wp-content\/themes\/fotov60\/style.css?ver=4.4\" rel=\"noopener nofollow ugc\">Link to stylesheet<\/a>]<br \/>Could they be affecting the performance or SEO of the page?<br \/>Analysing your web page with Lighthouse within Google Chrome\u2019s Developer Tools gives an excellent rating of 99\/100. It is picking up that, for mobile width pages, the \u2018search this site\u2019 input element is overlapped by the magnifying glass graphic, both being interactive elements. It is not picking up any other SEO issues.<br \/>Is there any other element in the stylesheet preventing the text of the last post from appearing like the penultimate one without the need for inline CSS, giving it the same size and default justification?<br \/>You can use Developer Tools to inspect text (and other elements) Select the left-most icon on Developer Tool\u2019s toolbar then hover over the text you wish to inspect. If you then click on selected text you will be able to see where the text gets its CSS from. I note in desktop view that the text listing the characteristics of the camera appears rather small. Develop tools shows <code>font-size: 1.2em<\/code> in this file:<br \/> <a href=\"https:\/\/www.fotov60.com\/wp-content\/litespeed\/css\/5dcb158dce52540584d3bae115f63f3c.css?ver=bf25a\">https:\/\/www.fotov60.com\/wp-content\/litespeed\/css\/5dcb158dce52540584d3bae115f63f3c.css?ver=bf25a<\/a><br \/> and Developer Tools shows that computes to be 12px.<br \/>I am picking up that this file is not available:<br \/> <code>https:\/\/www.fotov60.com\/wp-content\/themes\/web%20fonts\/orkney-regular-webfont.woff<\/code><br \/> (note the space character is invalid in a URL and has been replaced by %20).<br \/>There is a really staggering amount of CSS: in five files (I think) and inline. Your blog could be styled with a tiny fraction of this CSS if coded without WordPress.<br \/>There is a really staggering amount of CSS: in five files<br \/>That\u2019s why I left the direct link to the original CSS <a href=\"https:\/\/www.fotov60.com\/wp-content\/themes\/fotov60\/style.css?ver=4.4\" rel=\"noopener nofollow ugc\">https:\/\/www.fotov60.com\/wp-content\/themes\/fotov60\/style.css?ver=4.4<\/a> because Litespeed minified and chunked it to optimize it for site speed, making it hard to view the content correctly. In the link at the end of my previous post, you\u2019ll find the single CSS file instead of the 5 created by Litespeed, allowing you to see all the styles applied at once. If not, using Developer tools directly on the already optimized website can be confusing regarding the origin of the CSS.<br \/>I am picking up that this file is not available:<br \/> <code>https:\/\/www.fotov60.com\/wp-content\/themes\/web%20fonts\/orkney-regular-webfont.woff<\/code><br \/>To fix the font issue, would you recommend changing the folder name containing it to \u2018webfont,\u2019 without spaces, to avoid this problem?<br \/>Your blog could be styled with a tiny fraction of this CSS<br \/>Once the text issue is resolved, I\u2019d like to reduce the size of this file, but I\u2019m unsure where to start as it handles presenting the mobile view of the WordPress theme, and I\u2019m afraid of breaking it.<br \/>You can use Developer Tools to inspect text<br \/>If I want to be able to use Developer tools directly, I have to enter this other URL <a href=\"https:\/\/www.fotov60.com\/?LSCWP_CTRL=before_optm\" rel=\"noopener nofollow ugc\">https:\/\/www.fotov60.com\/?LSCWP_CTRL=before_optm<\/a> to prevent Litespeed\u2019s work on the CSS, and then truly see where each element comes from, as I mentioned in my previous post, it\u2019s in that CSS stylesheet I shared the link to. The issue is that I don\u2019t know what to modify to make it look as I expect, as I thought I was doing it right, and apparently something interferes with the final result.<br \/>That\u2019s why I left the direct link to the original CSS<br \/>I was referring to the staggering amount of CSS used by your online web page, although it is a fairly simple web page.<br \/>To fix the font issue, would you recommend changing the folder name containing it to \u2018webfont,\u2019 without spaces, to avoid this problem?<br \/>I think my browser and your server are taking care of the space character in the URL (by using URL encoding). Is <code>orkney-regular-webfont.woff<\/code> file in that folder on your server?<br \/>The issue is that I don\u2019t know what to modify to make it look as I expect, as I thought I was doing it right, and apparently something interferes with the final result.<br \/>Please give the location of an example of what you are wanting to modify and what modification you wish to make.<br \/>Is <code>orkney-regular-webfont.woff<\/code> file in that folder on your server?<br \/>Here is a screenshoot of cpanel, showing the folder and the fonts in it.<\/p>\n<div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/1\/d\/1d2366fa178235c61d3df5e76fb93226abd4f8e8.jpeg\" data-download-href=\"\/community\/uploads\/short-url\/49LH7Y5Gxcqh1Q1dFMGtQ758KqQ.jpeg?dl=1\" title=\"fonts url\" rel=\"noopener nofollow ugc\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/1\/d\/1d2366fa178235c61d3df5e76fb93226abd4f8e8_2_520x500.jpeg\" alt=\"fonts url\" data-base62-sha1=\"49LH7Y5Gxcqh1Q1dFMGtQ758KqQ\" width=\"520\" height=\"500\" srcset=\"https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/1\/d\/1d2366fa178235c61d3df5e76fb93226abd4f8e8_2_520x500.jpeg, https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/1\/d\/1d2366fa178235c61d3df5e76fb93226abd4f8e8.jpeg 1.5x, https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/1\/d\/1d2366fa178235c61d3df5e76fb93226abd4f8e8.jpeg 2x\" data-dominant-color=\"F0F0F0\"><\/p>\n<div class=\"meta\"><svg class=\"fa d-icon d-icon-far-image svg-icon\" aria-hidden=\"true\"><use href=\"#far-image\"><\/use><\/svg><span class=\"filename\">fonts url<\/span><span class=\"informations\">720\u00d7691 120 KB<\/span><svg class=\"fa d-icon d-icon-discourse-expand svg-icon\" aria-hidden=\"true\"><use href=\"#discourse-expand\"><\/use><\/svg><\/div>\n<p><\/a><\/div>\n<p>Please give the location of an example of what you are wanting to modify and what modification you wish to make.<\/p>\n<div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/3\/0\/30eef8c3564f2c98495e34eecd1ac062e46037e2.jpeg\" data-download-href=\"\/community\/uploads\/short-url\/6YSUC9WREKeEY4bqKC1dsbAeMdc.jpeg?dl=1\" title=\"blogexample\" rel=\"noopener nofollow ugc\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/3\/0\/30eef8c3564f2c98495e34eecd1ac062e46037e2_2_654x500.jpeg\" alt=\"blogexample\" data-base62-sha1=\"6YSUC9WREKeEY4bqKC1dsbAeMdc\" width=\"654\" height=\"500\" srcset=\"https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/3\/0\/30eef8c3564f2c98495e34eecd1ac062e46037e2_2_654x500.jpeg, https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/3\/0\/30eef8c3564f2c98495e34eecd1ac062e46037e2.jpeg 1.5x, https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/3\/0\/30eef8c3564f2c98495e34eecd1ac062e46037e2.jpeg 2x\" data-dominant-color=\"E5DFDF\"><\/p>\n<div class=\"meta\"><svg class=\"fa d-icon d-icon-far-image svg-icon\" aria-hidden=\"true\"><use href=\"#far-image\"><\/use><\/svg><span class=\"filename\">blogexample<\/span><span class=\"informations\">749\u00d7572 191 KB<\/span><svg class=\"fa d-icon d-icon-discourse-expand svg-icon\" aria-hidden=\"true\"><use href=\"#discourse-expand\"><\/use><\/svg><\/div>\n<p><\/a><\/div>\n<p>This is an example of how I would like the text to look. I think I\u2019ve already achieved it with the headings, but with the rest of the text is where I encounter problems. I managed to style the example text through inline CSS, but what I\u2019m interested in is that it is well defined in my CSS stylesheet so that inline styling is not necessary. The latest post visible on my blog is the one to which I haven\u2019t applied any inline styles, and it doesn\u2019t display correctly. To view its CSS correctly through Developer tools, you need to visit the blog through this link <a href=\"https:\/\/www.fotov60.com\/?LSCWP_CTRL=before_optm\" rel=\"noopener nofollow ugc\">https:\/\/www.fotov60.com\/?LSCWP_CTRL=before_optm<\/a> to prevent the Litespeed plugin in WordPress from modifying the CSS.<br \/> Is Orkney a good choice for titles and texts, or is it better to use Raleway for the text?<br \/>I was referring to the staggering amount of CSS used by your online web page, although it is a fairly simple web page.<br \/>It\u2019s possible that there are duplicated parts and\/or disordered code, but a freelance developer added responsive functionality through CSS to a theme I was using before and wanted to keep. I had previously \u201cfixed\u201d small issues I had come across. Can you think of a way to streamline the code without the risk of \u201cbreaking\u201d something?<br \/>At the moment, I\u2019ve identified some things that I believe I don\u2019t use on my blog. If you can confirm that I can safely delete them, I would appreciate it.<br \/>Here is a screenshoot of cpanel, showing the folder and the fonts in it.<br \/>Font family \u2018Orkney\u2019 is being used OK, so I wonder if file <code>orkney-regular-webfont.woff<\/code> is corrupt in some way. At least it does not look like the space in the URL is causing the issue.<br \/>This is an example of how I would like the text to look.<br \/>On your Hasselblad blog, Developer Tools (I\u2019m using Firefox) is showing the text to be \u2018Orkney\u2019 (as \u2018orkneyregular\u2019 has failed to download), 0.875rem (=14px), rgb(51, 51, 51). This is declared in lines 302 to 307 in style.css, with the color declared as a default for the body on line 34.<br \/>The text in your screenshot above seems to be 20px (=1.25rem) and may be black, not dark grey . . . . as far as I can tell from the screenshot.<br \/>Is Orkney a good choice for titles and texts, or is it better to use Raleway for the text?<br \/>When looking at any website, I usually take no notice of what the text looks like. Perhaps that is just a personal thing and that I am not very observant. I think many website designers pay much too much attention to appearance details and often not enought attention to text content, image content and navigation. Reading your blog, I would not have been aware that the text is anything other than ordinary sans-serif.<br \/>As mentioned a while ago, I am surprised the subheading text of your blog appears in a larger font than the main heading text.<br \/>Can you think of a way to streamline the code without the risk of \u201cbreaking\u201d something?<br \/>Reducing some CSS is going to make no noticeable difference. Even though style.css alone runs to 2490 lines of code, your total CSS (not only style.css) is only 8.2% of your page load size (with Litespeed).<br \/>The text in your screenshot above seems to be 20px (=1.25rem) and may be black, not dark grey . . . . as far as I can tell from the screenshot.<br \/>You can view the content of the screenshot directly on the blog in the second post on the main page to see its actual relative size. I don\u2019t think inline CSS would be very useful for determining its size since it\u2019s only defined as <code>&lt;p class=\"has-text-align-justify has-medium-font-size\"&gt;<\/code>, and I can\u2019t find its equivalent in em or rem.<br \/>the text to be \u2018Orkney\u2019 (as \u2018orkneyregular\u2019 has failed to download), 0.875rem (=14px), rgb(51, 51, 51).<br \/>The CSS you mention is the following, right?<br \/>What do I modify in them to make it correct?<br \/>At least it does not look like the space in the URL is causing the issue.<br \/>I think you\u2019re right about this, because otherwise, the rest of the fonts wouldn\u2019t load being in the same folder, right? Maybe the best option is to remove that font and its loading in the CSS? With the Orkney font available in all other formats, I can do without orkneyregular, which is in WOFF format, I believe.<br \/> Speaking of fonts, is it good to load bold, italic versions, etc\u2026 or is the regular version enough?<br \/>I don\u2019t think inline CSS would be very useful for determining its size since it\u2019s only defined as <code>&lt;p class=\"has-text-align-justify has-medium-font-size\"&gt;<\/code>, and I can\u2019t find its equivalent in em or rem.<br \/>The class <code>has-medium-font-size<\/code> is defined, via a CSS variable, in line 92 of the HTML. It is a long line <img decoding=\"async\" src=\"https:\/\/emoji.discourse-cdn.com\/apple\/grinning.png?v=12\" title=\":grinning:\" class=\"emoji\" alt=\":grinning:\" loading=\"lazy\" width=\"20\" height=\"20\">. Here are the CSS variables for font size in that line.<br \/><code>--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;<\/code><br \/>Note the declation includes the !important rule:<br \/><code>.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}<\/code><br \/>The CSS you mention is the following, right?<br \/>Yes, I was mentioning the <code>p {....}<\/code> declaration on lines 302 to 307.<br \/><strong>Using <code>vw<\/code> units might be a better option to achieve a responsive result?<\/strong><br \/>Yes, I was mentioning the <code>p {....}<\/code> declaration on lines 302 to 307.<br \/>Then I must modify like this?<br \/>Can I combine the styles of <code>&lt;body&gt;<\/code> and <code>&lt;p&gt;<\/code> into one, or do they each belong to a different element? If yes, how would it look?<br \/>Once these changes are made, can I remove the inline CSS from the example post?<br \/>As mentioned a while ago, I am surprised the subheading text of your blog appears in a larger font than the main heading text.<br \/>Do you check in dev tools or is only at eye checking?<br \/> In principle, you can see that the titles are defined with descending sizes, unless another rule is affecting them.<br \/>Can I combine the styles of <code>&lt;body&gt;<\/code> and <code>&lt;p&gt;<\/code> into one, or do they each belong to a different element? If yes, how would it look?<br \/>I suggest you keep that CSS. The body declaration acts as a \u2018default\u2019 for your whole web page. However I think Sans-Serif should be sans-serif.<br \/>Do you check in dev tools or is only at eye checking?<br \/>I noticed that by eye.<br \/>In principle, you can see that the titles are defined with descending sizes, unless another rule is affecting them.<br \/>Your blog title and your subheadings are all <code>&lt;h2&gt;<\/code> elements (Hasselblad blog at least).<br \/>Developer Tools shows the blog title is 28px while the subheadings are 33.6px.<br \/><code>&lt;h2&gt;<\/code> has font size 2.8em which means that it is 2.8 times the size of the font size of its parent element. The parent element is <code>&lt;div class=\"entry\"&gt;<\/code> which on llne 148 of style.css has a font size of 1.2em. So this is 1.2 times the size of its parent element. The parent element\u2019s font size comes from the font size of the <code>&lt;body&gt;<\/code> on line 29 of style.css. The body font size is declared as 62.5% so that means it is 62.5% of the default browser font size which is usually 16px. So working that out the font size of your subheadings will be:<br \/> <code>16px x 62.5% x 1.2 x  2.8 = 33.6px<\/code><br \/>This is how Developer Tools in Firefox shows it:<br \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/4\/7\/471ad0e647edc0cac28ce4f7009c29d7c0c18c52.jpeg\" alt=\"subheading-font-size\" data-base62-sha1=\"a91lUEccFeMYbSYJIYEweFOMUuK\" width=\"600\" height=\"210\"><br \/>The font size of your blog title will be the same except that it is not within <code>&lt;div class=\"entry\"&gt;<\/code> element so is only:<br \/> <code>16px x 62.5% x  2.8 = 28px<\/code><br \/><code>&lt;div class=\"entry\"&gt;<\/code><br \/>Is it necessary, or would deleting everything make more sense by not including that multiplication you mentioned?<br \/>Using <code>vw<\/code> units might be a better option to achieve a responsive result?<br \/>What do you think? The VW units don\u2019t depend on a parent element, so there\u2019s no need to fear those \u201crecalculations,\u201d and all screens would appear the same by adjusting based on the resolution, right?<br \/>Especially as you are concerned about SEO, you could make all your sub-headings <code>&lt;h3&gt;<\/code>? But would that mean editing all the blogs on your website?<br \/>If you do not want to make your sub-headings <code>&lt;h3&gt;<\/code> then we could use CSS:<br \/><code>.entry h2 {font-size: 0.6em;}<\/code><br \/>. . . . to select <code>&lt;h2&gt;<\/code> elements within <code>&lt;div class=\"entry\"&gt;<\/code> to reduce the size of sub-headings (some other value of <code>em<\/code> could be chosen). That will not affect main blog headings as they are not within that <code>&lt;div&gt;<\/code> element.<br \/>That would need to go somewhere after line 349 of the style.css file so it is not ovewritten by the declaration on line 349.<br \/>Using <code>vw<\/code> units might be a better option to achieve a responsive result?<br \/><code>em<\/code> units are being used so site visitors with poor eyesight can enlarge all the text by changing their browser\u2019s default font size from the usual 16px. You don\u2019t want font size to be proportional to browser window width.<br \/>to select <code>&lt;h2&gt;<\/code> elements within <code>&lt;div class=\"entry\"&gt;<\/code> to reduce the size of sub-headings (some other value of <code>em<\/code> could be chosen). That will not affect main blog headings as they are not within that <code>&lt;div&gt;<\/code> element.<br \/>If I understand you correctly, then I would need to do the same with the rest of the headers to maintain proportion, right? h3, h4, h5\u2026 etc.<br \/>Or alternatively, convert the post titles to h1? But I\u2019m unsure of the SEO impact\u2026 If my calculations are correct, the size would be 16px x 4.8 = 72px as it\u2019s currently defined. Maybe it\u2019s too large? The current H1 is only applied to the blog logo.<br \/>Or alternatively, convert the post titles to h1?<br \/>I note that your blog title and its subheadings are <code>&lt;h2&gt;<\/code> elements. I have therefore taken another look at the <a href=\"https:\/\/www.rnib.org.uk\/\">RNIB<\/a>, <a href=\"https:\/\/www.gov.uk\/\">GOV.UK<\/a> and <a href=\"https:\/\/www.bbc.co.uk\/\">BBC<\/a> websites as they will be taking extra care in the use of <code>&lt;h1&gt; &lt;h2&gt;<\/code> etc elements for blind users of assistive technology. On their home pages their  <code>&lt;h1&gt;<\/code> elements contain the names of their organisations. However on other web pages the <code>&lt;h1&gt;<\/code> elements describe the contents of each page. I am surprised by this because a user of assistive technology reaching a page via a search engine may not be able to find out easily the name of the website they have reached.<br \/>In the circumstances to avoid having to change all subheadings, I suggest you make your blog title <code>&lt;h1&gt;<\/code> instead of FOTOV6.<br \/>My understanding of what is going on with your font sizes is as follows. The 62.5% makes the \u2018default\u2019 font size for your website body to be 10px. I think this has been done just to make an easier number to start with than the usual 16px browser default. So if for example some text is required at 18px it would be simply 1.8em instead of 1.125em. I guess the 1.2em has been chosen to make the default font size within each blog, excluding blog title, to be 12px (which is rather small). The <code>&lt;li&gt;<\/code> element on your Hasselblad blog ends up this size. Your &#8220;Posted . \u2026 &#8221;  text includes <code>&lt;small&gt;<\/code> so that ends up only 11px. I suggest you review all your font sizes, taking into account the multiplication involved because of the use of \u2018em\u2019 units. Make sure any changes you make do not affect your left side bar or footer.<br \/>Initially, based on the CSS, there are h2, <span class=\"hashtag-raw\">#sidebar<\/span> h2, and .sticky h2. The first two seem to be for post header 2 and sidebar header 2, but I\u2019m unsure about the last one. Modifying h2 may not affect the sidebar ones, but while testing the appropriate size for post h2, I\u2019ve noticed it proportionally changes the title sizes. It might be the 1.2em multiplier from the parent element <\/p>\n<p>I\u2019ve resolved paragraph styles and font loading issues in the dev tools. Could you confirm if it looks good for you and the remaining issue is with the headers?<br \/>The <code>&lt;li&gt;<\/code> element on your Hasselblad blog ends up this size<br \/>I don\u2019t find the line to change the size<br \/>Your &#8220;Posted . \u2026 &#8221; text includes <code>&lt;small&gt;<\/code> so that ends up only 11px<br \/>Wich one is this text?<br \/>I\u2019ve resolved paragraph styles and font loading issues in the dev tools. Could you confirm if it looks good for you and the remaining issue is with the headers?<br \/>I thought you had only the Hasselbald blog on your home page. I see you now have four blogs on your home page. As it is strongly recommended that you should have no more than one <code>&lt;h1&gt;<\/code> element on a web page, you should not convert post titles to <code>&lt;h1&gt;<\/code> as you queried in post <span class=\"hashtag-raw\">#14<\/span>. Post titles therefore should be <code>&lt;h2&gt;<\/code> and subheadings should be <code>&lt;h3&gt;<\/code>.<br \/>Developer Tools is showing this text to be Tahoma 11px:<br \/> <small>Posted: 25\/01\/2024 by <strong>Agusti Pardo<\/strong> in <strong>Hasselblad<\/strong><\/small><br \/> I am surprised Lighthouse is not reporting that text and your list text as being too small for accessibility. See:<br \/>Learn about the &#8220;Document doesn&#8217;t use legible font sizes&#8221; Lighthouse audit.<br \/>I expected the <code>&lt;small&gt;<\/code> tag used on that line to simply make the text smaller but I see its text size and font are declared on line 472 of style.css and its colour on line 592.<br \/>I see the main text of your Hasselblad box to be Orkney 22.8px, while the main text of your nighshade and Mestre blogs is Orkney 20px and the main text of your EL TRADE blog is arial 18.6667px.<br \/>Are you expecting visitors to your website to be able to read the text in an image regarding &#8220;Comunicado publico frente oliver sinisterra . . . &#8220;?<br \/>This image become illegible on a small smartphone (here with 320px wide screen):<br \/> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/3\/a\/3ac546d625dfc204d909848ae216af3e9eeb98aa.jpeg\" alt=\"FOTOV7\" data-base62-sha1=\"8nUm74eBmZCb7Vek0L4jR34zPT4\" width=\"322\" height=\"152\"><br \/> . . . . assuming the website\u2019s responsiveness works from width of screen.<br \/>I see the main text of your Hasselblad box to be Orkney 22.8px, while the main text of your nighshade and Mestre blogs is Orkney 20px and the main text of your EL TRADE blog is arial 18.6667px.<br \/>My intention is to polish the CSS in the Hasselblad post, where I haven\u2019t used any inline styling. Once I have the correct CSS sheet for paragraphs, headers, etc., I\u2019ll gradually remove inline CSS from older posts to match the Hasselblad style. This way, I\u2019ll save a lot of code and keep it cleaner, avoiding discrepancies in fonts, sizes, headers, etc. I ask for your validation of the changes I\u2019m making to check what I can keep as valid and address anything not following the \u201ccorrect\u201d aesthetic for standardizing the style.<br \/>I thought you had only the Hasselbald blog on your home page. I see you now have four blogs on your home page.<br \/>Actually, I have about a thousand posts, but only the latest ones are displayed on the main screen. I showed you the Hasselblad post because of what I explained in the previous paragraph. The post title is an h2, the main headings within the post are also h2, and then the smaller titles are h3. That\u2019s why there\u2019s confusion when changing the size of h2.<br \/>Are you expecting visitors to your website to be able to read the text in an image regarding &#8220;Comunicado publico frente oliver sinisterra . . . &#8220;?<br \/>If you\u2019re referring to this one, clicking on the image opens the page with the document <a href=\"https:\/\/www.fotov60.com\/wp-content\/uploads\/2018\/04\/comunicatFARC_EP.jpg\" rel=\"noopener nofollow ugc\">https:\/\/www.fotov60.com\/wp-content\/uploads\/2018\/04\/comunicatFARC_EP.jpg<\/a>, allowing you to zoom in. What\u2019s the issue?<br \/>This image become illegible on a small smartphone (here with 320px wide screen):<br \/>I thought I had uploaded the image for it to open the same way as in the previous paragraph. Clicking on it should open it in full size for proper examination. Thanks for the heads up. I\u2019ll correct it by re-uploading so that it behaves as I mentioned.<br \/>Developer Tools is showing this text to be Tahoma 11px<br \/>Would you change the font to Orkney, used in the rest of the text, and make it slightly larger, or would you keep it as Tahoma?<br \/>My intention is to polish the CSS in the Hasselblad post, where I haven\u2019t used any inline styling. Once I have the correct CSS sheet for paragraphs, headers, etc., I\u2019ll gradually remove inline CSS from older posts to match the Hasselblad style. This way, I\u2019ll save a lot of code and keep it cleaner, avoiding discrepancies in fonts, sizes, headers, etc.<br \/>That is helpful information.<br \/>I ask for your validation of the changes I\u2019m making to check what I can keep as valid and address anything not following the \u201ccorrect\u201d aesthetic for standardizing the style.<br \/>The aesthetic style is your choice, not mine. However I can point out where in my opinion improvements can be made. To my eyes the main issues at present remain:<br \/>The post title is an h2, the main headings within the post are also h2, and then the smaller titles are h3. That\u2019s why there\u2019s confusion when changing the size of h2.<br \/>As the post titles are <code>&lt;h2&gt;<\/code>, why do you not make the main headings (\u201csubheadings\u201d) <code>&lt;h3&gt;<\/code>? Is that too much work?<br \/>If you\u2019re referring to this one, clicking on the image opens the page with the document <a href=\"https:\/\/www.fotov60.com\/wp-content\/uploads\/2018\/04\/comunicatFARC_EP.jpg\">https:\/\/www.fotov60.com\/wp-content\/uploads\/2018\/04\/comunicatFARC_EP.jpg<\/a>, allowing you to zoom in. What\u2019s the issue?<br \/>I was not aware that you can click on the image to enlarge it. We ought to consider whether that enlargement would be satisfactory for smartphone users.<br \/>When I click on one of the six photos (Porsche etc), I get a page showing just the Hasselblad blog.<br \/>Would you change the font to Orkney, used in the rest of the text, and make it slightly larger, or would you keep it as Tahoma?<br \/>The font is your choice but, as mentioned, I am surprised Lighthouse does not say that the size is too small (not legible). You can increase the font size on CSS line 474.<br \/>In my personal opinion the font size of ordinary paragraphs (22.8px) is larger than most websites. I suggest you try editing CSS line 304 to <code>font-size : 1.5em;<\/code> which will give 18px font size. The present rather large font size becomes an issue with small smartphones, especially as you are justifying the text. Here, emulated via Google Chrome, is how some of the text will appear on a small smartphone:<br \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/5\/3\/530decc36f1bd07c83e033f81398699308c7ed8b.png\" alt=\"FOTOV8\" data-base62-sha1=\"bQJsLiauNoobVoaG8LAjVzEJFLd\" width=\"320\" height=\"254\"><br \/>We can deal with the small text of list items later.<br \/>You\u2019re right, I was working on the size for the desktop version and didn\u2019t take into account how it looks on the mobile version. Does it maintain the same size as the desktop in the mobile version?<br \/>I\u2019ve thought about the sizes could being:<br \/>H2 (post title) &#8211; 20 px<br \/> p &#8211; 18px<br \/> H1 &#8211; 32px<br \/> H2 &#8211; 20px<br \/> H3 &#8211; 18 px<br \/> H4 &#8211; 16 px<br \/> H5 &#8211; 14 px<br \/> H6 &#8211; 12 px<br \/> Is there any text element left to define its size? Do you think the relationship between them is appropriate? How should I express it in \u201cem\u201d to do it correctly?<br \/>I\u2019ve been reviewing the analysis from pagespeed.web.dev, and I\u2019ve noticed that my score has dropped significantly, from 99 to 86, due to these two elements shown in the screenshots. Are they part of the CSS that defines the text style or the design structure of the website? I ask because if they impact the text, perhaps it\u2019s time to fix them to simplify the text style, right?<\/p>\n<div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/f\/0\/f00e95cdcc2d35b1157995262f744218006cff1e.jpeg\" data-download-href=\"\/community\/uploads\/short-url\/yfDQaHtca3wB4Qy1bCamenikHCu.jpeg?dl=1\" title=\"Screenshot_20240202_194522_Chrome\" rel=\"noopener nofollow ugc\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/f\/0\/f00e95cdcc2d35b1157995262f744218006cff1e_2_125x500.jpeg\" alt=\"Screenshot_20240202_194522_Chrome\" data-base62-sha1=\"yfDQaHtca3wB4Qy1bCamenikHCu\" width=\"125\" height=\"500\" srcset=\"https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/f\/0\/f00e95cdcc2d35b1157995262f744218006cff1e_2_125x500.jpeg, https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/f\/0\/f00e95cdcc2d35b1157995262f744218006cff1e_2_187x750.jpeg 1.5x, https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/f\/0\/f00e95cdcc2d35b1157995262f744218006cff1e_2_250x1000.jpeg 2x\" data-dominant-color=\"E3E4E4\"><\/p>\n<div class=\"meta\"><svg class=\"fa d-icon d-icon-far-image svg-icon\" aria-hidden=\"true\"><use href=\"#far-image\"><\/use><\/svg><span class=\"filename\">Screenshot_20240202_194522_Chrome<\/span><span class=\"informations\">1072\u00d74259 230 KB<\/span><svg class=\"fa d-icon d-icon-discourse-expand svg-icon\" aria-hidden=\"true\"><use href=\"#discourse-expand\"><\/use><\/svg><\/div>\n<p><\/a><\/div>\n<p> <\/p>\n<div class=\"lightbox-wrapper\"><a class=\"lightbox\" href=\"https:\/\/global.discourse-cdn.com\/sitepoint\/original\/3X\/e\/f\/ef4195c7028bb89f87f728c7d0d36ddc39db03b3.jpeg\" data-download-href=\"\/community\/uploads\/short-url\/y8yD6ME86edoMoAT7WovGHNSvSz.jpeg?dl=1\" title=\"Screenshot_20240202_194557_Chrome\" rel=\"noopener nofollow ugc\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/e\/f\/ef4195c7028bb89f87f728c7d0d36ddc39db03b3_2_297x500.jpeg\" alt=\"Screenshot_20240202_194557_Chrome\" data-base62-sha1=\"y8yD6ME86edoMoAT7WovGHNSvSz\" width=\"297\" height=\"500\" srcset=\"https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/e\/f\/ef4195c7028bb89f87f728c7d0d36ddc39db03b3_2_297x500.jpeg, https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/e\/f\/ef4195c7028bb89f87f728c7d0d36ddc39db03b3_2_445x750.jpeg 1.5x, https:\/\/global.discourse-cdn.com\/sitepoint\/optimized\/3X\/e\/f\/ef4195c7028bb89f87f728c7d0d36ddc39db03b3_2_594x1000.jpeg 2x\" data-dominant-color=\"F2F2F3\"><\/p>\n<div class=\"meta\"><svg class=\"fa d-icon d-icon-far-image svg-icon\" aria-hidden=\"true\"><use href=\"#far-image\"><\/use><\/svg><span class=\"filename\">Screenshot_20240202_194557_Chrome<\/span><span class=\"informations\">1080\u00d71813 252 KB<\/span><svg class=\"fa d-icon d-icon-discourse-expand svg-icon\" aria-hidden=\"true\"><use href=\"#discourse-expand\"><\/use><\/svg><\/div>\n<p><\/a><\/div>\n<p>Powered by <a href=\"https:\/\/www.discourse.org\">Discourse<\/a>, best viewed with JavaScript enabled<\/p>\n<p><a href=\"https:\/\/news.google.com\/rss\/articles\/CBMiTWh0dHBzOi8vd3d3LnNpdGVwb2ludC5jb20vY29tbXVuaXR5L3QvbW9kaWZ5aW5nLWNzcy1pbi13b3JkcHJlc3MtdGhlbWUvNDM4MTI10gEA?oc=5\">source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discussion continued from W3C validator reliability? &#8211; #31 by ArchibaldAs the errors do not seem to be affecting the appearancCould they be affecting the performance or SEO of the page?I have a problem with the text displayed in the article post. In the CSS, I\u2019ve included these styles to format&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-857","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/posts\/857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/comments?post=857"}],"version-history":[{"count":0,"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/posts\/857\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/media?parent=857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/categories?post=857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yellowfalconmedia.com\/blog\/wp-json\/wp\/v2\/tags?post=857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}