Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of HTML output, usually via Themes. When you have to use this tag, then there's a high chance that your question is off topic on this SE network site.

learn more… | top users | synonyms

2
votes
1answer
24 views

How do i style the current menu anchor link's parent anchor link?

I have this code <div class="mainmenu"> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li> <a ...
0
votes
1answer
32 views

Reduce font size [on hold]

I need your assistance regarding my problem. In fact, I've tried to change the slider's font size on my website : http://compil2rai.com/ on the style.css file, but the changes are not taken in ...
2
votes
1answer
32 views

Adding HTML within an image title attribute

I am using some jquery which applies an overlay on an image on hover. The script uses content from the image's title attribute to display over the image. When I tested this locally, it seemed to work, ...
0
votes
1answer
19 views

CSS won't style output of wp_nav_menu() correctly

I'm tyring to create a theme with a horizontal menu that is dynamically streched to fill the container element. I use wp_nav_menu() to fetch a menu from the backend and style it via CSS. Here some ...
0
votes
0answers
12 views

Background image slider specifically for rows?

I'm trying to get a background image on a single row, but with a background slider. I can get a single image on a row, but not a background slider for the individual row. I've tried a few plugins, ...
-1
votes
0answers
21 views

Wordpress theme development - Should i support IE8, IE9, IE10 [closed]

Im developing a premium wordpress theme which im expecting to release sometime in the coming 1.5 months. Im using rather 'newish' CSS and HTML5 concepts, including flexbox. IE8 does not support many ...
0
votes
1answer
25 views

How to style options page in dashboard?

working with a child-theme, adding a custom options page to dashboard in which admin can save details about the site. Using this code in the child-theme functions.php to create the options page: ...
0
votes
1answer
45 views

I cannot make this position properly in Wordpress [closed]

I am trying to write in Wordpress with text and next image and then next paragraph is text and next paragraph is image and in next text. However the second image and text is mixing beside the first ...
0
votes
0answers
18 views

font icons not working in css [closed]

I am currently trying to move my static html website over to wordpress. as you can see on my html site, Just under my picture and my name, Displayed are 2 lines with a star in the middle of it. ...
-1
votes
1answer
11 views

How can I edit the width of my menu? [closed]

How can I make the menu items stay on one line in my menu bar? I believe that I can edit the CSS somehow however I am confused as to where this is available for editing. Here's a link to my website ...
0
votes
1answer
20 views

A better way to make 75% width for text and 100% for images in post?

I tried to make 75% width of paragraph in .entry-content, and also 100% responsive width of images. However, <img> is always in <p> as default. Currently, I can only make .entry-content ...
0
votes
0answers
17 views

Wesbite super slow on iphone / very fast on desktop with same connection on wifi

I'm having an issue on my website. The speed is perfect on desktop - really fast. However - it is really really slow in Iphone/Ipad. THe thing is im using the same connexion wifi - soit's not ...
0
votes
1answer
17 views

Changing blog style [closed]

I have done several websites for my employers business, all of which we are happy with. One thing i would like to change, however, is the style of the blog posts on one of the websites. I would like ...
0
votes
0answers
13 views

Why does TinyMCE generally use pt instead of px?

If you look at the Tinymce examples you'll see that whenever they have a font size picker, they will generally have pt instead of px. This is inconsistent in many places where other systems use px in ...
0
votes
0answers
18 views

How do I handle styling between SASS and theme options?

I've been looking into leveraging SASS to handle styling my themes and the thought of storing various styles in variable to be used across the site is really helpful! Eg. I am able to store the ...
0
votes
0answers
20 views

Declare inline background image in functions.php

I'm not sure if this can be done as I cannot find anything to help me anywhere no matter how hard i try. I'm using Ajax to load to in posts on the press of the button. the posts that are loaded in are ...
0
votes
2answers
59 views

Show/Hide Div for Login Mask

I've been trying around a lot to get this working, however every method I tried just didn't want to do as I wanted it to. So here I am. I have a login-Mask that's only visible if the user is not ...
0
votes
1answer
20 views

Change CSS based on is_user_logged_in

How do I activate certain CSS lines depending on if a user is logged in or not? Here's how it looks: I'm currently building a login mask for a client of ours and here's essentially what I want to ...
-2
votes
0answers
14 views

Nested loop in a carouFredSel [migrated]

Im new with nested WP loop.I really got trouble with this and cant solve by myself coz it's beyond my skills. I want to loop <div class="groupitem"></div> which will show total 16 ...
0
votes
1answer
12 views

how to prevent all css and javascripts files from loading

I'm looking for a way to prevent all css and js files from being loaded (default theme and plugins). Is there any way to do that? at least reach to minumim file load... .
0
votes
0answers
7 views

Use syntax highlighter in plug-in options

I am a plug-in author and need to have a simple CSS editor in my plug-in options page. what is the best way to do this? At now my plug-in just show a simple textarea, but I need to make it ...
0
votes
1answer
16 views

Customizer: CSS changes not persistent

Customizer API is saving HTML/data changes properly but any CSS change is only visible in the Customizer. After hitting "Save & Publish" the page is exactly like it used to be with no new ...
1
vote
0answers
16 views

How to disable wordpress from overload my stylesheet styles with customizer styles

I realized that, the customizer's styles are default highest priority because they are somewhat embedded into the page. I want to store ALL styles in my .scss file which using SASS to manage CSS and ...
0
votes
1answer
23 views

How do I add a search bar to my header?

I need to add a functioning search bar to my header. I have read through the forums but am unsure what code I need to put where. For instance, where do I put the css code versus where do I put the ...
0
votes
0answers
34 views

Minify CSS & JS files server side for Wordpress

I'm hoping someone can help me. I am looking to create a php script that will minify (and preferably concatinate) all my CSS and JS files into one minified file for each. i.e, one JS file and one CSS ...
-1
votes
0answers
6 views

I can't get rid of white border [duplicate]

I have a white border around my black background which I can't remove. I've tried border: none in CSS but it still won't go. My website is smartchoicelimo.com I would appreciate any help as I'm a ...
0
votes
1answer
27 views

Different background for different page

I was wondering if there is a way to set a different background for each page. I tried with this code you posted on a different thread, but it didn’t work: section-padding.page-id-8 { ...
0
votes
2answers
40 views

Best use adding user generated JS/CSS to a theme with a plugin

I want to know the best use of adding custom JS/CSS to a theme. I have built a small plugin which has a section to allow users to add CSS/JS to their theme. Now I am trying to figure out is which is ...
0
votes
1answer
11 views

Site not displaying correctly when re-directing from root to sub-directory

I've created a WordPress version of our site in a subdirectory on our server and wish to re-direct from the root to the subdirectory, like: mydomain.net to mydomain.net/wordpress For some reason, ...
0
votes
0answers
35 views

Stylesheet not loading

I have started on a plugin that shows some basic information of registered users. In order to control layout I want to have a separated CSS file (in plugin-name/css/style.css). However, when I enqueue ...
0
votes
1answer
34 views

How To Load Different CSS Style, Based On Language When Using QtranslateX [closed]

I want to use custom css style for every language on my site. I'm using Plugin Qtranslate-x, how can I achieve this?
0
votes
1answer
20 views

Align form elements with css

I am working on a form on my webpage: http://www.xn--l-klubben-k8a.dk/opret-egen-oel/ I would like the the box with the text that says "Kommentar til duften" to align with the two boxes on the right, ...
0
votes
1answer
56 views

Theme CSS background-image keeps throwing 404

I have a Wordpress site I am developing with the Sage starter theme. I have set a static home page, and added a new div to that page that is going to act as my stage. I would like to add a ...
0
votes
1answer
22 views

Specific text not affected by CSS style [closed]

First, here is the URL for the page I am struggling with: http://www.xn--l-guiden-44a.dk/beers/ny/ On the page I have some p-elements with strong text, that I have modified with the following css: ...
0
votes
1answer
25 views

Let user override plugin CSS

I'm writing a plugin, which has a certain style. However, that style won't suit every site. therefore, I would like to let the site admin override the plugin CSS if they want. How would I go about ...
0
votes
1answer
20 views

Target h1 on single post page [closed]

I have CSS in my theme making all H1 white. One post has a white background image so I want to target this post specifically and make the text grey. h1.entry-title targets all pages correctly. I ...
0
votes
1answer
25 views

How do I switch css class on post

On this dev site, I have a post that displays three items (under Coming Soon) and I would like to modify the class on the 'learn more' link at the end to display three different options, one for each ...
0
votes
0answers
20 views

how to add a css version into the code?

i need to add a version or change the old version if it is exist just to make sure that any change will be shown by the browsers . I could not find the element link of the css to add a version . ...
0
votes
1answer
36 views

multiple html/css files for wordpress theme?

Ok so I am teaching myself how to code wordpress themes from scratch. I am using c9.io as an editor. I had a question. I have been looking at different tutorials at the template files they use, and ...
0
votes
0answers
25 views

Designing custom templates and managing conent

I am web developer with little wordpress experience. What I am trying to do is develop and style a website to my liking using pure html and css and then use wordpress to allow the end users to edit ...
0
votes
2answers
31 views

Creating Admin Options Page where users can make changes to a theme

I need help to finish this last bit of php code. I'm trying to create an admin options page similar to in admin>settings>discussions like how a user can select an avatar, but instead of selecting an ...
0
votes
3answers
60 views

Import HTML code that loads css and javascript into specific page

How can I add the following HTML code into one of my web pages? It's a web form that relies on css and a few java script. Below is the raw HTML code. <head> <link href="css/style.css" ...
0
votes
1answer
13 views

Featured images are cropped on index and post page

I am using a theme called Simple Bootstrap and after a recent update, the theme began cropping the height of the featured images on both the index and the post page. When I inspect the specific ...
0
votes
0answers
33 views

Adding two same css class on menu item

I saw something strange on Wordpress. I explain; I created a menu, added some pages to it. I added a css class to one of the page item, I saved, no problem. Then I added the same css class name to ...
0
votes
1answer
40 views

Add custom CSS class to custom post type

I created custom post type called 'song' in the installation. I am running on a theme called fabulous When I viewed the author archive page with custom posts, the post are not correctly displayed ...
1
vote
3answers
39 views

X-Axis of Site is Messed Up Because it is in Hebrew

One of my client's sites are in Hebrew which is a right-to-left language. I'm using the MH Newsdesk Lite theme found on wordpress.org . The theme is using a core wordpress generated class ...
0
votes
0answers
19 views

Backslashes being stripped from CSS

The title explains my problem. Upon saving CSS stylesheet in the "Appearance > Editor", single backslashes are being stripped out of the stylesheet. For example: content="\foo" becomes: ...
0
votes
1answer
20 views

How do I get access to the CSS Editor

I have a blog which is hosted by an ecommerce company who also host my website and online store. Because of this, they uploaded the theme I requested - Penscratch. I couldn't do it myself. I now want ...
0
votes
0answers
26 views

Mess after wordpress update

My website is quite messed up after updating it to version 4.2.2. The menu isn't in line anymore and there are only three items left and the footer is gone. What can I do? (www.elternkindbuero.at) ...
0
votes
1answer
60 views

Add logo to admin menu in my plugin

I want to add a simple piece of code: <img src="logo.png"> to the top of the admin menu. I know how to do it if I am just replacing a logo within an already existing class but there is no ...