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
0answers
11 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
7 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 ...
-1
votes
0answers
14 views

I can't use nth-child on pair divs [on hold]

i'm trying put pair divs with float:right but don't work. Only work with li??? I need put < div class="portfolio-entry-media" > only pairs (2, 4, 6...) with float right. Is this possible? thanks! ...
0
votes
0answers
25 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
214 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
15 views

a: hover issue with image issues [on hold]

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
0answers
16 views

wordpress media query issues [migrated]

I have a different header I want to do for different screensizes. I am having trouble getting the @media queries working or understanding them. Right now I have a slogan hard coded. For the wide ...
0
votes
1answer
11 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
13 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 ?
7
votes
3answers
17k 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
15 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 ...
2
votes
2answers
342 views

Wordpress image resizing on home page (product category)

I have been working on resizing the images on my wordpress website, the images are not appearing on equal sizes or not aligning properly. But inside the product pages it looks normal size but in the ...
0
votes
3answers
40 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
73 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
20 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
11 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
37 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
11 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
9 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 ...
0
votes
1answer
22 views

Every second post different class in blog view

To assign different classes to every 2nd post in blog view in WordPress adding this code into function.php was suggested as solution. Most people claim it is helpful, but to me it just adds odd at the ...
0
votes
0answers
15 views

How do I transfer an existing website running on Joomla to Wordpress?

I am currently the Admin of a site that is running on Joomla 2.5 and I am looking to migrate existing content to wordpress. Please help.
-1
votes
1answer
31 views

How can I make content disappear when a user logs in?

I am working in Wordpress, and I would like to make certain elements disappear once a user logs in. How can I do this? I have social icons on my page that I positioned to the center of my menu bar at ...
0
votes
2answers
3k views

How do I make the sidebar bigger in twenty twelve?

I am new to WP with little knowledge of code. I am using Twenty Twelve and have managed to create a child theme (minus the header image for some reason). One of my widgets does not fit into the ...
0
votes
1answer
48 views

Wordpress + Bootstrap [closed]

I have integrated Bootstrap with Wordpress, and implemented wp-bootstrap-navwalker to build menus. Bootstrap and navwalker are working as you can see my project here. The only problem is the CSS on ...
0
votes
3answers
383 views

How to activate the child theme in Wordpress?

I create a new style.css and use it in child theme. And I create a new folder in wp-content and name it as themename-child and upload the style.css that I created. Now, I go to wp dashboard -> ...
0
votes
1answer
23 views

Menu item hidden behind others

I'm having some issues with my menu being displayed properly. As you can see from the photo below, my 3rd level menu items are hidden behind the others for some reason. I've gone over my template I'm ...
0
votes
1answer
11 views

How to avoid repeating similar properties for all tds of a table in a wordpress post

Consider the following table. <table> <tbody> <tr> <td style="text-align: right; direction: ltr;">1</td> <td style="text-align: right; direction: ...
0
votes
2answers
63 views

Applying CSS on PHP variable [closed]

I have PHP code as $message = str_replace("{eventlinkURL}",$eventlinkURL,$message); I want to set color to the $eventlinkURL variable. I tried using <font> echo "<font ...
1
vote
1answer
815 views

Using PHP to toggle stylesheet and header image, set in cookie

I haven't done a lot of work with cookies or Wordpress before so I think I've been a bit over-optimistic in my quest :p I have created two themes for my site, night and day. I would like the user to ...
0
votes
1answer
16 views

How can I selectively insert a header for my shop page in woocommerce? [closed]

I use a this line of code in my sites in order to change my header (and hence my css) depending on what template I'm using: <?php include ('otherHeader.php'); ?> however, with woocommerce ...
0
votes
2answers
488 views

Remove id attribute from stylesheet link

Right now I'm serving up my own custom stylesheet. // register main stylesheet wp_register_style( 'custom-stylesheet', get_stylesheet_directory_uri() . '/library/css/main.css', array(), '', 'all' ); ...
0
votes
0answers
13 views

How to do full width on simple blog

I hear that there isn't, technically, anything call "full width". What, then, are the most common ways to do full width, on a simple blog, in this current time period? I'm very new, and do not know ...
1
vote
1answer
35 views

Altering html structure and creating custom menus

I'm fairly new to Wordpress and am trying to do something very specific. I am currently using the awesome html5blank to create my custom theme. I am using the native menus for my nav tabs. I am ...
0
votes
2answers
92 views

WooCommerce: Can't change / style button colors

I'm trying to change the colors of my buttons from a default reddish color to something more pink. So I go to my child theme and insert the following code: .woocommerce a.button.alt, ...
3
votes
2answers
612 views

Using tabs for wordpress plugin

Done my research and found this is how to call the built-in ui tabs jquery script in wp for the admin area but I'm stuck on implementing the other jquery scripts needed that I believe are built into ...
6
votes
2answers
4k views

Inbuilt style for jquery-ui-datepicker

I want to use the datepicker that gets bundled with WordPress on the front end of a website. I enqueued jquery-ui-datepicker but the datepicker isn't styled(no js error in console). Is there a ...
0
votes
1answer
25 views

How to add a css class to custom field value?

In the user's profile there is a dropdown list with options to choose from. The custom field name is colors with several values: red, green, blue, etc. Can I add a css class to those values. Like ...
0
votes
1answer
15 views

At a Loss on over Page Peel Plugin Customization [closed]

I am trying to install and configure the Page Peel Plugin for a friend on their site. The plugin is from SmartRedFox.com and they're support is non-existent. I have it installed but for some reason ...
0
votes
0answers
28 views

Inserting jQuery in a WordPress Code Block

I have a theme that already uses jQuery, so I thought I could use some of it by inserting <script type="text/javascript"> jQuery(window).load(function() { jQuery('form').css( ...
0
votes
1answer
15 views

Main menu effect visited

I want to create an effect that when the user clicks on a menu item hover effect my stay. This is my link: http://avocat.dac-proiect.ro/wp This is the CSS code for the full menu. .menu-item a ...
0
votes
1answer
33 views

Front-end CSS Library for plugin [closed]

I'm looking for a CSS library that can style elements I display on the client-side (front-end) of a wordpress website. The CSS library needs to be able to work with most of the wordpress themes, which ...
0
votes
1answer
32 views

Styling admin page rows in order of importance (checkboxes)

I am altering a plugin's admin area and adding a checkbox for a "Coming Soon" option. As of now, when the user checks the "Coming Soon" checkbox, the entire row will turn green, but there is also the ...
0
votes
1answer
15 views

EM in CSS different size on wordpress then elsewhere [closed]

I am creating a Blog, and custom Theme, using Wordpress for my existing site. I am trying to get it to match exactly the look and feel of the main site, so I logically just copied over all the CSS... ...
1
vote
1answer
43 views

Inconsistent `body_class()` function

Here's my scenario: I'm using body_class() in my <body> tag as per the Codex instructions I've created specialized page templates (as described here) for the following pages: Home: ...
0
votes
2answers
29 views

Changing the color of post title [closed]

Alright I am starting a music blog and I am working hard at coding up this theme but I am wondering why I can't do this successfully within WordPress when I know for sure it's possible. Alright so ...
0
votes
2answers
80 views

Child themes CSS priority problems without using !important

I changed my WordPress site to use child themes, but the parent theme style has priority over any change I make on the child theme CSS. I can work around it using !important, however this is a patchy ...
0
votes
1answer
23 views

Scale An Image Thumbnail

I am having issues getting some logos to display on my page. The page shows the search results for a series of companies, with each result shown in a small box. I need the logo to scale correctly to ...
3
votes
1answer
111 views

How can I insert HTML attributes with an existing TinyMCE button?

When I insert an image into the post editor, select it and click the "align left" button, it automatically adds the alignleft CSS class to the image, like so : <img src = ...
0
votes
1answer
23 views

Black admin bar is being hidden by page elements

I all of a sudden noticed while building a new WordPress theme that the black admin bar is being hidden by the header element when you scroll down and I can't fix it. I basically have a full width ...