We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [css]

CSS, short for Cascading Style Sheets, is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.

Filter by
Sorted by
Tagged with
2
votes
1answer
85 views

Will having a poor print page format hurt SEO?

I have searched to try and find out if there is any connection between the "print page" and SEO rankings and Google's indexing of the site. To me, it seems like the websites which have messy layouts ...
0
votes
1answer
667 views

Will this hidden element be count as SEO Spamming? [closed]

As you know, search engine robots sometimes count invisible elements as SEO spam. I have a website that i want to improve SEO performance. I'm planning to make homapage as like below. Will this be ...
1
vote
1answer
28 views

Explain me some CSS [closed]

Newbie to CSS. I don't get why :before and :after are used. Can I get some easy explanation,please?
0
votes
2answers
366 views

Responsive web design causes social media buttons to overlap the logo on smaller screens [closed]

I haven't developed a website in quite some time, and am currently working on one for a friend's small company. I put together a simple design, and have been able to get the content itself to be ...
1
vote
0answers
43 views

What is it called when an HTML block floats while scrolling down the content until something else takes its place?

Recently updated my blog and was looking for the improvements they have added. I noticed a floating section of text that stayed there until a part of description ended. (Similar to the timestamp on ...
3
votes
3answers
52 views

Page-specific skins in MediaWiki?

Is there a way to force a particular skin to be applied while displaying specific MediaWiki articles? In my wiki many articles will have a "flip" version with alternative content (think "good" and "...
3
votes
1answer
385 views

Does Google care about cached versions of site having Stylesheet and JavaScript files?

I would like to know if having Stylesheets and JavaScript files available for old, cached versions of a site benefits SEO in any way. Currently I'm adding a hash of the file contents to the file name, ...
2
votes
2answers
850 views

Is using the <pre> tag for ordinary text in a page likely to impact SEO?

When coding pages by hand, I sometimes want to skip having to write all those <p> tags and use: <pre> <h2>Heading written as usual is no problem within a pre</h2> <i&...
11
votes
2answers
5k views

Should company name in logo be an image or text?

I'm putting a logo (comprising of an image and company name) on my website. I'm not sure whether to save the company name text as part of an image file, or to have it as actual text in the html and ...
5
votes
1answer
131 views

OpenType Variable Fonts: Supported Browsers

Variable fonts have been on the drawing board for sometime and Google just released Chrome 62 with support for these new fonts and looks fairly simple to use, e.g: font-variation-settings: 'wght' ...
1
vote
0answers
310 views

Is hiding <img> tag or set it in noscript SEO friendly? [closed]

Is it possible to make img tag display:none and then add it with CSS background? For example: <div style="background-image:url('image.png')"> <img src="image.png" alt="description of ...
1
vote
3answers
593 views

CSS parallax issue within Twenty Seventeen WordPress Theme

I hope this is the right place for this. I tried WP Developers but question was considered off topic. I’m using the Twenty Seventeen theme in WordPress (4.8.2) with a static front page with 4 ...
1
vote
1answer
78 views

CSS Linked Comments [closed]

How can I do this kind of comments using html + css? Best regards
3
votes
2answers
126 views

Can problems with inline styles in Google webcache text only view affect SEO?

I have a page that due to CMS requirements has an embedded background color style on an element that contains text <span style="background-color: #000">[text]</span>, the colour varies but ...
2
votes
2answers
587 views

Should I ignore W3 CSS Validation Service?

I just checked my site with W3 CSS Validation Service. It had more than 200 errors. Then I checked many sites including Stack OverFlow. Here is the results of Stack OverFlow. SO also has 108 errors. ...
0
votes
1answer
191 views

How do I use bootstrap's Darkly theme without external references?

I have used the bootstrap Darkly theme found here in the past, and it has worked great. This time, I'm developing a website that will be displayed to users when they connect to a wireless network. ...
0
votes
1answer
36 views

AJAX compatibilty [closed]

In 2015 Google stopped supporting their AJAX for Adsense program, So I've researched and developed tons of AJAX content. I understand the flaws so I'm striving for backwards compatibility. loadPage('...
3
votes
2answers
6k views

Best way to add a custom font to my site?

Based on my research, I found that there are 3 ways to do that which are: @import url ('https://..........'); in CSS @font-face {fonta-family: 'myfont'; src: url('myfont.tff');} in CSS <link rel="...
4
votes
1answer
899 views

Are Static Websites (HTML & CSS) Hack-Proof?

If a website uses HTML & CSS only without any server side language, does it make it Hack-Proof? Thank you
3
votes
1answer
350 views

SEO for links duplicated and hidden for responsive design

I would like to know if duplicating some links in the menu for responsive purposes (display:none in some cases) can affect SEO. Simple example: <ul> <li><a href="/one">one</a&...
2
votes
1answer
478 views

Which one should I use for SEO proposes? <div>text</div> or <img alt=“text” />

I know that the alt="" attribute is recommended for SEO propososes, but I also heard that put the description inside a div and hide with text-indent:-9999px or font-size:0; is a good practice for SEO. ...
1
vote
1answer
143 views

Will using a pseudo element to place background image on top of an image tag for SEO value have negative consequences

Will using a pseudo element like before to place background image on top of an img element for SEO value have negative consequences? The reason being we want the flexibility of an element with a ...
3
votes
2answers
390 views

Does Google count external Javascript or CSS files as backlinks?

Is there any information available on whether search engines (Google) count external Javascript or CSS files as backlinks? Example: Does loading FontAwesome from their CDN count as a backlink for ...
1
vote
0answers
61 views

CSS Flaticons Show up all Black [closed]

I have been unable to resolve this. I downloaded icons and using the demo they all show up back when they should show up in a more colorful fashion What they should look like: http://www.flaticon....
1
vote
0answers
105 views

Using the Salient WordPress theme cuts the header logo cut in half [closed]

Problem: Logo appearing cut in half, and menu items chopped off - Theme: Salient 8.0.15 I have no custom CSS yet.
1
vote
0answers
38 views

Open Sans won't display bolder than 700 in Chrome [closed]

I came across a weird issue where everything displays fine in Safari, but in Chrome my H1 will not display bolder than 600. Even if I change it in developer tools - for this page http://station-...
2
votes
0answers
65 views

When the layout of my page gets jumbled after browsing the site, is the problem with WordPress or hosting?

I've had problems with the loading view of my site. Initially everything looks OK but after clicking on other pages and coming back to the Home page the slider and other elements are not showing as ...
2
votes
0answers
57 views

Backend of Prestashop Product Description Field hidden overflow

I've got a Prestashop 1.7.1.1 wherein the backend when you edit the product description with images, it doesn't overflow properly. I tried forcing the overflow in the CSS file overflow:scroll!...
1
vote
3answers
2k views

Is a huge style attribute bad for SEO?

I'm working on a website using wordpress. When opening Chrome's console (Ctrl+Maj+I), I couldn't help but notice a HUGE style attribute and tons of scripts directly written into the HTML document. ...
2
votes
1answer
288 views

Duplicate CSS files in Firefox Inspector

I'm wondering that why Inspector shows duplicate CSS as follows: What is the difference between Cause column: stylesheet vs JS stylesheet? UPDATE: Here some explanation. Seems like my css is ...
0
votes
1answer
915 views

Prevent font color from changing when hovering over child menu item [closed]

I'm baffling myself with this one. I have a main menu set up and when you hover over a menu item the background-color is #f2dabd and the color is #8d0000, however when i hover over a parent menu item,...
-1
votes
2answers
2k views

PHP website page loading is very slow in localhost [closed]

PHP website pages are taking very long time to load for huge data in localhost(using Xampp). The page loading becomes faster for less data. Could anyone tell why how this can be?
2
votes
1answer
235 views

Remote CDN: Pro's and Cons of grouping CSS and JS

I'd like to know the pros and cons of grouping external CSS and JavaScript files. The grouping method I'm referring to often seen by external libraries providers such as Google fonts and jsDelivr. ...
1
vote
1answer
284 views

Div changing css style using chrome develop tools not working? [closed]

I'm trying to change the CSS settings of a webpage, so it fits my use. Below, as seen, that extended display a div width of 1200. The HTML code and css looks like The HTML code and css looks like I'...
1
vote
1answer
3k views

Google PageSpeed Insights reports that bootstrap.min.css is render blocking

I'm trying to achieve an over-90 grade on PageSpeed Insights. My last error comes with bootstrap, Google detects the file bootstrap.min.css as a render blocker. The file is located in my server. I'...
1
vote
1answer
2k views

Force visitors to get newest versions of resources (bypassing browser cache)

How can I (force) my visitors on my website to clean their cache, and get the new updated content? I find myself sometimes linking progress on some of my projects and sending it to others for feedback,...
1
vote
2answers
445 views

Why does my element work on first click but not second click? [closed]

I set up a CSS dynamic snippet on my site and it behaving strangely, when you click on the icons it works, but if you click twice it scrolls up a few pixels up. Click on the 5 icons repeatedly and ...
1
vote
1answer
215 views

What are the safe web fonts and is there anyway around this problem?

How do you choose a font that will be both aesthetic and browser/OS friendly? I love Helvetica, but a lot of websites say that 90% of Windows users don't have it installed. What are the safe web ...
3
votes
1answer
2k views

How to avoid request of all images used for different devices using media query?

I want to know, how can I avoid loading all images I created for different devices using media query. Currently my mark up look like below : <img src="/media/1062/lg.png" alt="Fresh from ...
0
votes
1answer
10 views

Disabling highlighted search box [closed]

I made a search box using input html tag but while inputting when I click on the search box it is highlighted with blue border. How do I remove it ? Thanks
3
votes
2answers
15k views

Vertically and horizontally align div into parent div [closed]

I'm new in the web development industry and I struggle to vertically and horizontally align a child div in a parent div. I'm trying to build a homepage with a full-width image with a slogan in the ...
1
vote
1answer
849 views

Link stylesheets up directories using .htaccess [duplicate]

How do I move up a directory using the <link> in HTML for my stylesheets to work while using htaccess? My directories are as: index.php .htaccess css/ styles.css php/ login.php In my ...
1
vote
0answers
668 views

Google PageSpeed says “Eliminate render-blocking JavaScript and CSS in above-the-fold content” [closed]

I own a WordPress site and I am trying to improve my PageSpeed Insights score. The only "Red" item I have says "Eliminate render-blocking JavaScript and CSS in above-the-fold content" Render ...
1
vote
1answer
3k views

How to style an svg using external stylesheet? [closed]

I have an SVG file and I want to include it in an HTML page. I want to style it using an external CSS file, but I don't want to include the stylesheet reference in the SVG itself. Is this possible? ...
1
vote
3answers
104 views

Will Googlebot take text appearance into account?

The Google bot will rank words by the surrounding tag. A text between h1 tags will have more score than the content of another h{n} element or the p element, of course. However, is the Google bot ...
3
votes
1answer
39 views

Fixed media player

The following website has a fixed media player at the top of the page. When you click internal links and browse through the site, the audio feed is uninterrupted. http://www.kcrw.com/music/shows/...
0
votes
3answers
646 views

Identify what CSS rule is adding arrows next to list elements

I'm trying to identify the CSS that is generating the arrows next to the items in the "Recent Jobs" section of my site's homepage (scroll down, sidebar on right). The code is being generated by a ...
4
votes
1answer
108 views

Where is “MediaWiki:Vector.css” of my MediaWiki

I want to install Skin:Vector-DarkCSS on my MediaWiki. It must be simple, but second step of installation instructions syas I have to edit MediaWiki:Vector.css on my wiki. I searched for file with ...
0
votes
4answers
988 views

Do you need to place an 'h1' into a 'p' tag in order to style it so it won't hurt your SEO?

Some people say that it's bad for SEO to style h1 using CSS and an h1 tag selector, and instead the developer has to place the h1 into a p tag so that it inherits its styles. Is this correct, or not?
0
votes
1answer
45 views

CSS/Design files aren't loading [closed]

I've transferred my OpenCart site to a new hosting. I've followed every step from this tutorial (https://isenselabs.com/posts/step-by-step-opencart-migration-to-a-new-server). My transfer is complete ...