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
9 views

Customising Header with CSS Only

I am trying to implement a child theme for twentysixteen. Where I want to customise the header, I tried to put the site title and tagline inline with header image, but the header image is getting ...
-1
votes
2answers
24 views

Ordered List - Numbers not showing up [on hold]

I am using WordPress 4.2.2 and using customize wordpress theme. I am facing one problem with this theme. Ordered List not showing in tag section. www.movhash.com & Numbers showing in pages like ...
0
votes
0answers
22 views

How can i make my child theme editable by html and css?

I want to edit my child theme with CSS and HTML. Ideally i would like to edit my child theme files on my computer and then through filezilla make the changes to my website, but nothing is happening. ...
1
vote
1answer
14 views

Different post styles depending on category

I am using Zephyr theme The link to the blog page. I want to style each post differently based on the post category ex: social media, announcements ect. I would like to style them using a cards ...
1
vote
2answers
35 views

What controls responsiveness in Wordpress?

I am testing a WP install along with a custom theme made by third parties. The theme per se is responsive, however in some situations, at particular resolutions, parts of the page will be blank ...
-1
votes
1answer
15 views

How can I get rid of the distance when I'm using list-style-type: none? [on hold]

I am using the following code (output html) to get my comments displayed. But there is a space because of the list-style-type: none; I used. How can I get rid of this? This is the fiddle
0
votes
0answers
12 views

Why are the author and the date not displayed next to the avatar in comment section?

I got the following code: jsfiddle.net/xg0waxL7 In this Fiddle it looks good but the problem is that WordPress displays just the bottom comment like I want it: prnt.sc/b7yaq6
-1
votes
0answers
22 views

CSS media queries not loading from theme editor [on hold]

Wordpress code editor won't load last CSS media query, everything before loads fine, here is the code: @media screen and (max-width: 1600px){.dc_about_us_section_row{margin-left:20%;}} @media screen ...
1
vote
1answer
33 views

How create a Shortcode with hover and complex options

I am wondering how do you do when you have to create a shortcode with multiple hover or complex options ( gradient, boxshadow etc, thing that can't be inline ). How do you generate the css. I don't ...
-3
votes
0answers
17 views

@font-face not working? [closed]

Currently having some trouble getting some custom fonts to work on my site via the css @font-face class(?). The method I'm using has worked several times before. Also curious, is that when I try on my ...
-4
votes
1answer
20 views

Wordpress adding style display none to body tag [closed]

I have been searching for a solution to this issue, but somehow, I am unable to come up with any results with the same issue, either here or other sites. I have turned my pure html and .less site ...
-2
votes
1answer
30 views

Place images below each other [on hold]

On this site : http://www.helensheardfloraldesigns.co.uk/, the right hand side of the header are two social logos, how would I style these so they are below each other, not next to each other. The ...
-1
votes
3answers
34 views

Get post format and use it as a CSS class in different spans

I use a <span> inside the loop and I would like to get each post format the post is containing as a class in separate spans. Example: If the post format is video and private: I would like to ...
-1
votes
2answers
25 views

Load files content [on hold]

I would like to load a css file in my Wordpress plugin by php. First I tried file_get_contents: $stylesheet = file_get_contents(plugins_url('assets/css/fonts.css', __FILE__ )); But than I get this ...
-1
votes
1answer
14 views

Adding logo to Wordpress header

I want to add a logo to my header for a website im building, where in this code would I put the image URL? The theme im using in Bones. <!doctype html> <!--[if lt IE 7]><html <?php ...
0
votes
1answer
27 views

Wordpress archive page showing 404 Error

This is the code for an archive page on my website, when I try to open this page, it brings up a 404 error and doesn't display any content. Is there a problem in this code that is stopping it? I am ...
-1
votes
3answers
27 views

Using PHP for background-image property

I'm building a gallery page for a website and want to use the images from post types as background images with lightboxes. The code im using currently is this: <div id="primary" ...
1
vote
1answer
13 views

How do add a the style-mobile css from the main theme to the child theme?

I've only found one post on this and the OP asked for clarification, but didn't get any: How to enqueue both style.css and style-mobile.css in child theme I'm using a pretty standard theme and have ...
5
votes
3answers
174 views

how to include other plugins css files in a shortcode?

I've coded a plugin that creates a shortcode, among other things. That shortcode expects a post_id parameter, it extracts the content of that post and it returns the filtered content of that post ...
1
vote
1answer
120 views

WordPress Shortcode and Dynamic CSS

I have a question I would like to ask to the WordPress developers, Usually when creating a shortcode that need to generate custom css how do you proceed? For example a simple button shortcode with ...
2
votes
3answers
38 views

Wordpress loop specific thumbnail size

That's my loop: <main id="main"> <?php // the query $args = array('posts_per_page' => 10 ); $the_query = new WP_Query( $args ); ?> <?php if ( ...
0
votes
1answer
29 views

Widget text color change

hello i have this site and in the footer section there is the recent posts widget with the grey colored text. I wish to change it to white, i tried adding some custom css code in the theme child with ...
0
votes
0answers
4 views

(Hide Video)CSS display: none not working with @media query for iPhone [migrated]

I'm trying to use a @media query to hide a video which auto-plays on loop as a landing page. I want to replace the hidden video with a short, full width, responsive .gif background. Here is a copy ...
0
votes
2answers
24 views

Display post formats differently on index.php (loop in function)

I'm a newbie-- please bare with my ignorance here. I've been trying to read other questions about this but so far I can't wrap my head around this. I'm hoping to display post formats differently on ...
0
votes
0answers
35 views

How to include JavaScript script only on specific page [duplicate]

I am creating my own widget. I need to use custom css and js files. I have used wp_register_style`wp_enqueue_styleandwp_register_script\wp_enqueue_script` functions in order to register custom styles ...
-3
votes
1answer
42 views

Suddenly, all links in #content div are not clickable, but I don't see any z-index bug? [closed]

Following a bunch of seemingly harmless plugin updates, I suddenly have a weird bug. All of the links in my #content section are now unclickable, although the links in my sidebar, header, footer, ...
-4
votes
1answer
24 views

How to make a page extend full screen [closed]

For some reason my wordpress theme has invisible margins on both sides of the page, forcing all my content into the middle. Example.
1
vote
1answer
20 views

Trying to properly register and enqueue stylesheet in WP but nothing is rendered

I'm told it's very important to register and enqueue styles and scripts in WordPress even though it's a real pain in the behind. I had no problem with the scripts however when I try the styles, ...
1
vote
0answers
28 views

Following Web Performance Optimization techniques to output static and dynamic css

I have always felt the way styles are handled in WordPress is not optimal regarding the web performance optimization (WPO) techniques that are related to css. From a theme developer point of view, ...
0
votes
2answers
64 views

Ideal inline dynamic CSS injection

There is a code in here that dynamically load custom script. <?php function my_styles_method() { wp_enqueue_style( 'custom-style', get_template_directory_uri() . ...
0
votes
0answers
35 views

How to stop printing header, footer, sidebar and other items (Tesseract theme)?

My screen pages look fine. All elements on a page look like they will print on one page. When the page prints, the header, menu (drop down), footer, social media icons at bottom (also showing link ...
0
votes
4answers
40 views

Hide Image On Wordpress On Single Page [closed]

Sorry, I know this kind of question has been asked before but I can't quite figure it out. I'm trying to hide the city image on this page: http://learnenglish20.com/buy-tokens/ I put this CSS in ...
0
votes
1answer
41 views

inline css causes multiple copies [closed]

This is a question that' stumpled me and I don't know how to ask the right question. If the question is labeled incorrectly, please rename it. I'm using an inline CSS to make the featured image a ...
2
votes
1answer
36 views

How to target first img in every wordpress post with CSS [closed]

I am trying to target first image in every post. The example post where I am trying to perform this is here. So I tried to use first-of-type like this .single-post .entry-content ...
0
votes
2answers
24 views

How can I alternate styling of images in a post? [closed]

I'm working on a theme for a travel blog and the author likes to insert small images in the text of their posts (an example is here). I want the images to alternatingly float left or right (so the ...
0
votes
0answers
46 views

How to include jQuery UI smoothness theme - without conflicting with Contact Form 7

After copying the following HTML-code from jQuery UI selectmenu example into my twentythirteen-child/front-page.php file: <form action="#"> <fieldset> <label ...
0
votes
1answer
17 views

How to get dynamic template-function generated CSS into HEAD?

In a WordPress theme I have a custom function that generates some HTML and CSS based on factors on the page. Previously I had simply dumped the generated CSS into embedded <style> tags. However, ...
0
votes
0answers
13 views

Post style in custom wordpress theme

I've made up a custom WordPress theme. So far everything went quite smooth but now I want to update the blog and the styles selected in the backend don't show up at the front. For example: I center ...
0
votes
0answers
22 views

How to use the built in response image feature?

I've noticed that Wordpress now automatically includes responsive image support, the problem is I have no idea how to use it. I'm working on a design and in that design there are 3 columns that ...
0
votes
0answers
12 views

Click to expand menu

I have the following menu in Wordpress: https://jsfiddle.net/L3y2rno8/ (renderd HTML) The menu is using a custom walker in my theme functions.php: function wp_nav_menu_attributes_filter($var) { ...
0
votes
1answer
35 views

jQuery accordion menu

So I have just started developing a theme with _s (underscores) as a basis. For three days straight (almost) I have been trying to make an accordion menu sort of like this: Example: ...
0
votes
2answers
42 views

Relative post date in recent posts list

I have basically worked on this all night and I realize I am quite stuck. I have a sidebar in my wordpress theme that displays the most recent posts. The sidebar looks like this: Below each title ...
0
votes
1answer
53 views

LESS not working in WordPress [closed]

How to run the CSS preprocessor (LESS) in WordPress? I'm trying to apply LESS in my child theme. I create variable.less and place it in the child theme folder css/less/variable.less and I call this ...
-4
votes
1answer
41 views

WordPress Custom Fonts Problem! [closed]

I added custom fonts on my website! Its based on Genesis Framework.More then 15 days web fonts show every where,suddenly fonts missing but i checkout my fonts link and fonts deceleration on CSS its ...
0
votes
0answers
19 views

Wordpress functions in CSS?

I'm developing an audio player plugin and I'm trying to figure out how to make the links work on any install. I've used wp_enqueue_style('player', plugin_dir_url( __FILE__ ) . ...
-3
votes
1answer
26 views

Hiding site title for Twentyfifteen sidebar on (responsive) desktop display size

I'd like to hide the site title that appears on the sidebar on a twentyfifteen theme WordPress website when viewing it in a desktop display, but have it show when the display is fitted for mobile or ...
-2
votes
1answer
32 views

How to echo css class for a link? [closed]

I am trying to add a css class to this link in a plugin I am using. The plugin has the following code - echo "<a href=\"" . get_permalink() . "\">"; The css class I'd like to add is ...
0
votes
1answer
27 views

How can I add a class to particular paragraphs in my post?

The effect I'm looking for in the end is to have the first line in some paragraphs bolded. These would be the first paragraph of each section in my post. This kind of effect is used on this ...
-2
votes
1answer
44 views

Create decorative image border with CSS? [closed]

I'm trying to create a custom border style for several images on a website (building in WordPress.) Is there a way to get the style shown below with pure CSS? (i.e.: trying to add the dark green wavy ...
0
votes
1answer
33 views

Set a link in child theme style.css to jump to #main [closed]

I have created a 2013 child theme by creating these 2 files - /wp-content/themes/twentythirteen-child/style.css: @import url("../twentythirteen/style.css"); .site-header .home-link { ...