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
2answers
31 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 ...
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
30 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
38 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 ...
0
votes
2answers
18 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
23 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 ?
0
votes
1answer
28 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 ...
1
vote
1answer
53 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
64 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
95 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
33 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
19 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
93 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
15 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
63 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
19 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
35 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
1answer
65 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
1answer
43 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
12 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
84 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 ...
0
votes
1answer
26 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
0answers
17 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
49 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
257 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, ...
0
votes
1answer
50 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
24 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
32 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
45 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
60 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
19 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
48 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
1answer
26 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
2answers
44 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
198 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
36 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 ...
0
votes
1answer
40 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 ...
0
votes
1answer
213 views

Twenty Fifteen : Wider right column for the content

I'm using the theme Twenty Fifteen on my offline site. I want to make a wider column for the content (the right column highlighted in blue here). I don't want to have a smaller sidebar. I tried to ...
3
votes
1answer
197 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
0answers
53 views

Multiple sub-navigation menus in page

I am developing a WP theme. I need to have a main menu in 'pages' (already done) and have some sort of sub menu made of tabs in the 'page'. I thought about having multiple tab navigation menus and ...
0
votes
1answer
48 views

Site w/ Addon Domain doesn't show CSS

I have a website with its main domain name and an add-on domain. When I access the Wordpress site from the main domain, CSS/JS loads without any issues. When I access the site through the add-on ...
0
votes
0answers
35 views

How to change the order of the comment_form fields with css?

I would like to have the comment form display, from top to bottom: 1- the comment-form-comment; 2 - the comment-form-url; 3 - the comment-form-email; 4 - the comment-form-author; 5 - the submit ...
2
votes
1answer
82 views

Add attribute to link tag that's generated through wp_register_style?

My original question was answered here: Google Fonts giving: No 'Access-Control-Allow-Origin' header is present on the requested resource. Is there a way to add the data-noprefix attribute to my ...
0
votes
0answers
91 views

How can I pass a variable from PHP to LESS?

I used LESS auto compiler in my theme (I followed this tutorial) to precompile my LESS files into CSS in my theme (yes, I wanted to avoid using external plugin like WP-Less because I wanted to have ...
0
votes
0answers
68 views

Adding Custom Fields/editing description css in NextGen Gallery

Hello I am currently trying to build a vehicle selling page using wordpress & The Nxt-Gen Gallery. I am currently using the shortcode below to include the description underneath the thumbnails. ...
1
vote
1answer
48 views

How to use Japanese characters for a single page

I've been asked to produce a single page on a client's Wordpress site that has a Japanese translation of key paragraphs from the site. The straight copy and paste from the translated text in a Word ...
0
votes
0answers
10 views

Avoid wp-load.php within a PHP/CSS file? [duplicate]

There was a similar question already but it uses ajax, and I am not. I want to have dynamic css in my theme, but I can't get the WP functions to work in my php/css file. In my functions.php file, I ...
0
votes
1answer
32 views

Problem adding class to body_class

I am trying to add additional classes to <body> based on certain conditions, so I have this code in my functions.php file of the theme : add_filter( 'body_class', 'custom_body_class' ); ...
0
votes
0answers
70 views

Show Sub-Menu when main menu is hovered over

I am trying to make a sub-menu show when the main menu is hovered over. What I did is made both menus show on all pages, then added this CSS: Note: walking-menu is the sub menu, main-nav is the main ...