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

0
votes
1answer
33 views

How to implement CSS-defined images from bootstrap site in wordpress theme

I am making my own theme from a Bootstrap 3 site that I designed. How do I best implement images that I defined in the CSS in WordPress so that I can change them later and they reference the media ...
1
vote
1answer
29 views

TwentyFifteen: How can it show a different color on every post page?

I have made a child theme of TwentyFifteen. Am trying to set on styles.css of the child theme a specific color on every page or post. I tried somethin like that .post-id-no.id .hentry,.site-footer ...
0
votes
1answer
37 views

I would like to remove date display on photo preview

I have a web site and in the image preview of the posts, when I display images, there is a date displayed by the website and I would like to remove it. I've looked in the wordpress config but I ...
0
votes
1answer
21 views

Making a custom CSS per mobile

I have a wordpress site and everything looks the way it should on a regular browser. But now if i go to it in mobile it it there are certain sections that don't look right. Is there a way to modify ...
0
votes
0answers
25 views

Extract and amend variables from 'like' plugin and put into visual meter gauge plugin

I am trying to extract the total number of likes associated with different posts from the WTI Like Post Pro wordpress plugin, then subtract the number of unlikes and feed this total into a meter gauge ...
0
votes
0answers
39 views

How can I organize nav menu lists as columns in WordPress?

Here’s what I am having a hell of a time with. I'm working on a dev site (which is WordPress based) that can be seen here. You see the responsive navigation for the ‘Course Schedule’ section is ...
0
votes
1answer
31 views

custom css in one page

I am trying to add custom css to wordpress page. Which is trying to load an image from the gallery for some reason though certain parts of the css are not working. Not sure if this has to do with the ...
-2
votes
0answers
45 views

FlexSlider / Dazzling Theme - Bug [closed]

I have an issue with Dazzling Theme for Wordpress : On Google Chrome, when I reload my homepage (with F5), content is hidden by flexslider element. If I look in html/css I can see that : <div ...
-1
votes
1answer
54 views

theme injecting css into wp-admin

Some of the CSS from my theme is being used in wp-admin. For instance "Add New Page" on /wp-admin/post-new.php?post_type=page is coloured blue, which comes from my theme, as stated by Chrome code ...
-1
votes
1answer
34 views

Is it possible to make invisible a div only on certain pages using CSS?

I have a div with a unique id, and I need to make this div invisible but only on certain pages. Using only CSS is it possible a solution like this? #my_div{ display: inline-block; } #my_div ...
1
vote
1answer
122 views

Making WordPress Gallery (.gallery-item) Responsive?

Shortcode for Gallery: [gallery link="file" columns="5" size="medium"] I’m using a 5 column gallery on an inner page of a website, obviously when the site responds down to mobile and even tablet ...
0
votes
2answers
255 views

How to make Custom Walker for wp_nav_menu() for materialize framework

I'm trying to make WordPress theme with the materialize framework but I'm really confused by the navbar part. I've searched on the internet but found nothing, it seems nobody works with materialize. ...
0
votes
1answer
188 views

How to insert HTML/CSS/JS into my iframe plugin?

I currently have an iframe plugin that displays on a WordPress page by shortcode. Currently I have been displaying websites in my iframes "src" but I recently came across an issue to display my very ...
3
votes
4answers
993 views

Sanitize User Entered CSS

Does anyone have any idea how to sanitize CSS entered via user input? I am concerned about cross-site scripting via CSS. I am using wp_filter_kses to clean up user entered HTML, but I need a like ...
0
votes
0answers
28 views

Element on page, is fixed position relative to parent want it relevant to body

I am adding an overlay element on a page using a fixed position. The actual css is .overlay { width: 100%; height: 100%; position: fixed; top: 0; right: 0; ...
0
votes
1answer
27 views

CSS preprocessor file messed up after compiled

I'm using LESS for WordPress theme development, but I have a bit of problem that after compiled CSS file mess up. Like this: LESS body { color: white; background-color: black; } CSS body ...
0
votes
0answers
18 views

Mootools, Wordpress, Print Nuke problems

I am wanting to implement a code for eliminating unwanted DIV's during printing that I found here: http://davidwalsh.name/css-print-javascript-double-click I got this working correctly in a regular ...
0
votes
1answer
40 views

Custom Plugin - CSS works, JS doesn't

In the plugin I'm making, I use separate js and css files (____.js, ____.css). This is the first time that I've included an external .js file in anything. I'm registering and enqueueing both in the ...
0
votes
2answers
55 views

How to add new CSS file to new PHP file

I've made a new template file for Wordpress constructing the elements of the page via PHP and Wordpress recognizes the template as such. Then I wanted to include a CSS file for said template (same ...
0
votes
1answer
80 views

Always show wordpress submenu on responsive header menu

I'm trying to edit my CSS to always show all the li tags inside my header menu, also with ul.sub-menu li; I just want to show all the items from the menu, but I'm working on it for hours and I've ...
0
votes
1answer
27 views

Where are the contents of WP_Head

I'm building a theme based on underscores. In the header I'm finding some code for a margin-top but I can't seem to find the source in order to get rid of it. I looked in functions hoping it was ...
0
votes
1answer
20 views

How to format text of site subtitle

How do I italicise a word in the subtitle of a wordpress blog? Markdown isn't supported in the tagline field in dashboard's general settings.
0
votes
1answer
93 views

Background image appears on localhost site but not online

I am developing a WordPress theme and the background image appeared fine on the local MAMP server. It refuses to appear once I upload the theme into a demo site, however. I've tried every type of path ...
0
votes
2answers
37 views

Padding added in sidebar, not coming from my style sheet [closed]

Space is being added to a sidebar in a WordPress theme I have created. The space isn't being added via my own style sheet, but I think I have isolated it to this from my code editor: ul, menu, ...
1
vote
2answers
1k views

Add the current menu item CSS class to a custom page type archive in Wordpress menu

I've been reading a lot about this but couldn't find a solution. Basically I'm trying to show a current menu item on a dynamic page that is created by a custom page type archive. The default menu ...
0
votes
1answer
62 views

How do I get shortcode, widget and template tag CSS to load in the head only as required? [duplicate]

I have a shortcode, widget and template tag that need to load CSS. I am registering in init, and enqueueing as required. The only problem is, it is adding the CSS loader at the bottom of the page, ...
0
votes
1answer
51 views

override a css style

I have the following line in the original theme style.css file: background: none repeat scroll 0px 0px #CCC; In my child-theme.. I want to delete the "background: line.. But how? Update: OK to ...
0
votes
0answers
67 views

Display selectable variable product options upon hover

I'm trying to figure out how when one hovers over a product image (I use woocommerce) in the shop page the product's product variations appear -small, middle, large - ( each with a different price), ...
0
votes
0answers
22 views

How do I add padding to the p tags containing text, but not the ones containing images?

I want images within a post to span the full width of .entry-content, but WordPress puts p tags around them. Paragraphs have padding: 15px. <div class="entry-content"> <p><img ...
0
votes
0answers
49 views

Simple class with different color between header,page,footer

I have a theme, "university". In this theme compare social icon in top header, in page and in footer, now I want a different color for this icon between top header, page and footer but have same ...
0
votes
0answers
27 views

Image jumping/resizing on pageload

Trying to firebug exactly what is causing the image on this iosslider image to appear to jump left/reduce size on pageload. Been messing with the CSS but can't seem to pinpoint it and would appreciate ...
0
votes
2answers
38 views

How to style posts selecting a CSS post_class (added through custom_fields?)?

Here is what I tried and couldn't reach it. Maybe I need a whole different approach? 1) I created a custom field in a post, called post-class and inserted the value cita-flow800000 (weird class name ...
3
votes
1answer
294 views

How to prevent loading of all plugin's resources?

Wordpress is loading all client resources of all plugins, not just the plugin of interest. It may make sense to load jqery globally but it makes no sense to load all other plugin's Javascript in a ...
1
vote
1answer
31 views

Why does my <Style> dissappear?

Why does my style-tag disappear, in both my free site and my localhost site? Where do I find the Wordpress guidelines that specify what can-not be done. Example, where do I find: "Wordpress does not ...
0
votes
1answer
36 views

Modify arguments for parent theme's `wp_register_style` via child theme

Working on a child theme for site with a good deal of separate stylesheets being registered/enqueued from the theme and plugins. I'd like to change some attributes of the <link> tags in the ...
0
votes
0answers
56 views

Adding css class to post and styling it

I am new to wordpress development, and I am using the Customizr Theme I am trying to add a CSS class into my wordpress post in order to incorporate styles into it but I am having difficulty finding ...
1
vote
1answer
323 views

Customizing default Mediaelement player

Good morning/afternoon everyone. Been playing around with the default wordpress mediaelement player and definitely loving it. I managed to customize the layout a little by overriding some css values ...
1
vote
3answers
4k views

How to add (css) classes to only one wp_nav_menu()?

Edit I removed the original Question as this Q has far above 1.000 views now - which means it's important to a lot of people - to show you something that works a) without a custom Walker & b) is ...
0
votes
2answers
23 views

a: hover issue with image issues [closed]

I am not sure what is wrong but the navigation a:hover has a image that when you hover over it shows. I am looking to see why there is a small space between the end of the image and slideshow. I am ...
0
votes
1answer
39 views

Header formatting works for safari but not chrome @media screen size technique on iphone

I was creating a responsive design theme from underscores I was trying to format the header text .css file to make smaller text when it is opened up on an iphone device. I used @media screen and ...
0
votes
1answer
28 views

How to make float element in tinymce

I would know how its possible to add a float:left or float:right in tinymce ? I know how to do this for a picture but what is the best solutions for all elements ?
8
votes
3answers
27k views

Versioning @import of parent theme's style.css

Context I built a child theme based on Twenty Thirteen which works quite well. After updating the parent theme to version 1.3, I noticed strange behavior with the styling which was caused by a cached ...
1
vote
1answer
86 views

Override Theme CSS with CSS from a plugin

I have seen multiple questions regarding overriding a plugin's CSS with a theme(Example 1, Example 2, etc), but I am looking for the opposite. I have installed a job board plugin that comes with some ...
0
votes
3answers
94 views

How to add a class to links inside posts text

Is it possible to add a class to links created with the link button in the posts editor of wordpress. If not is there a plugin that allow me to do that? Thanks in advance
1
vote
2answers
147 views

Change CSS when user is logged in

So I have the following code: <h3> <div class="sellertitle"><a class="allseller" href="#">Something</a> </div> <?php if ( ...
0
votes
1answer
45 views

Content alignment in Twenty Fourteen Theme

I am fighting around with a quite simple but at the moment not solvable problem. I set up a WP site on an external server for trying first time WordPress and was successful. Now setting it up on an ...
0
votes
0answers
21 views

Shortcode Menu plugins default value

I use Shortcode Menu plugins, everything works fine. When I'm using a smartphone, the menu is responsive but the default value is the last value of the Menu. I would like that the default value is ...
-1
votes
1answer
99 views

How do I make my child theme's CSS update when I save it?

Current System WordPress 4.1.1 Theme: Child theme of Lovecraft Issue Summary My theme, a child theme of Lovecraft, is calling the stylesheet with the URI ...
0
votes
0answers
12 views

How to make sure Child styles load after Parent styles [duplicate]

I have setup a child theme for my site. However I'm having trouble getting some of my CSS styles to work properly because some of them load before the parent style and therefore become overruled by ...
1
vote
1answer
17 views

Rendering css to screen and debug problem

i got a website here that i am building up HERE the right arrow, in chrome, is LOW as you can see here but when i debug it with the debugger and check float on/off, it comeback to the place it ...