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

1
vote
0answers
13 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, ...
-2
votes
0answers
4 views

edit small tag but only for for my checkout

I have installed woocommerce subcriptions on my website. I notice that after adding products and checking out my shop. Once I add an item to my cart and view the cart. it tells me the renewal date is ...
1
vote
3answers
428 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
0answers
28 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() . ...
2
votes
1answer
33 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 ...
-1
votes
0answers
7 views

need help in custom single product woocommerce [on hold]

can change destitute variation attribute field in single product woocommerce form one column vertical to two or three columns? as attach file
0
votes
1answer
39 views

inline css causes multiple copies

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 ...
0
votes
0answers
22 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 ...
-4
votes
0answers
10 views

How to escape from container after the sidebar [on hold]

I am working on wordpress with theme, after I have added sidebar the posts stays in their container and after the sidebar ends it continiues to stay there. How do y escape from container after the ...
0
votes
3answers
58 views

Changes in enqueued / registered stylesheet paths not updating—why?

I'm attempting to modify a WordPress theme so that it appends a version number to a particular stylesheet. This is all done on a local development machine, tested on a staging server, too, for good ...
0
votes
0answers
13 views

Implementing a javascript carousel [closed]

I attempted to add this code into my website, using the MH lite Magazine template and it made my site crash. How do I implement this code into my site to display the carousel with images? Here is ...
0
votes
1answer
25 views

If Portfolio item has tag, add CSS

I've recently purchased the Stockholm theme and am trying to customize it: I would like to have the ability to mark certain Portfolio Items as being 'SOLD' with black squares in the top-left corner, ...
0
votes
2answers
635 views

404 Error while accessing the font files

Added a custom font as follows Uploaded web-font files and given them the 777 permission http://example.com/wp-content/themes/mytheme/css/fonts/ Added rules to the css file @font-face { ...
0
votes
4answers
38 views

Hide Image On Wordpress On Single Page

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
2answers
24 views

How can I alternate styling of images in a post?

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
1answer
25 views

Post order in layout (css problem?)

I made the layout for blog and styled each post in block. I have problem with display order of post. I use standard loop: <?php query_posts('cat=317&showposts=6'); ?> <?php if ( ...
2
votes
1answer
1k 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
3answers
3k views

Hide post meta data on a specific category

I'm using the Canvas theme from Woothemes, and their framework (obviously.) I built a child theme and have my custom CSS segregated in a custom.css file in that directory. I've made some changes to ...
0
votes
0answers
26 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 ...
-2
votes
1answer
1k views

Changing fonts (and related settings) in wordpress theme [closed]

I am using wordpress for my blog/site. I am using Freshnews theme from woothemes as the theme for the blog. Here is the link: http://demo.woothemes.com/freshnews/ The font is not that good and it is ...
1
vote
1answer
636 views

Theme Options Page - User Updates Logo

I'm a newbie to WordPress Development so bear with me. Site: https://wordpress-portfolio-zacnespral21.c9.io/ On the site above I would like to add an option in the themes options page for the user ...
0
votes
1answer
15 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, ...
-3
votes
0answers
34 views

CSS style woocommerce single product page [closed]

I'm making a webshop with the plugin Woocommerce. What I'm doing now is styling the single product page for my site. I already changed the order of the hooks. So "related products" is now above the ...
0
votes
1answer
435 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
0answers
21 views

wordpress - theme customization - healing-touch [closed]

I have downloaded a theme from WordPress.org site and I have created a child theme on this. Now I have style.css for this. My requirement is to customize this as per my need. I am facing issues on ...
0
votes
1answer
50 views

A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom

Everything was working well, but somebody wrote a post with the following inside: <iframe blablabla (a video) </iframe> <div style="clear: both; height: 3px; width: ...
0
votes
0answers
12 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
21 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 ...
-2
votes
1answer
23 views

Base CSS for wordpress theme development [closed]

Well, for developing a premium level wordpress theme, I'm sneaking for a base (or blank) style.css file which includes constant style for a wordpress theme upon which I can attach my defined styles ...
0
votes
0answers
11 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
30 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
36 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 ...
1
vote
1answer
547 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 ...
0
votes
1answer
25 views

TwentyFourteen Theme : Changing grid layout

I have been plugging away making my new site and it is going great with only one issue so far. How would I go about changing the featured posts grid so that instead of displaying 3 featured posts per ...
0
votes
4answers
676 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 -> ...
1
vote
2answers
161 views

Multisite domain mapping breaks CSS

I have set up a multisite (sub directories) and all my plugins/CSS was working fine. Then I added domain mapping and managed to point a domain example.com to a site ID 4. All still working fine. ...
24
votes
5answers
21k views

best way to overide plugin CSS?

currently, I use CSS specificity to override plugin styles. I prefer this to editing the plugin as it makes for less headaches when you update. What would be nice is if my style sheet loaded after ...
1
vote
3answers
2k 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
49 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 ...
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 ...
1
vote
1answer
2k views

wp_enqueue_style with style.php and Wordpress functions

I use wp_enqueue_style to add my stylesheet, like this: <?php wp_enqueue_style( 'theme-style', get_template_directory_uri() . '/style.php', false, '1.0', 'all' ); ?> It works fine BUT I need ...
-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
14 views

width: 100%; height: auto dont work properly [migrated]

I am using Wordpress to build a website. I have set images as slider with bootstrap. My css codes are: min-width: 100%; height: auto; object-fit: contain; overflow: hidden; But it stretches itself ...
-3
votes
1answer
25 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
2answers
3k views

Theme Customizer - Dynamic CSS PHP File

I've recently switched over from using a custom class to enable a theme options panel to the built in Theme Customizer in Wordpress. All is going fairly well - I've got live preview working but I'm a ...
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__ ) . ...
-2
votes
1answer
28 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 ...
-2
votes
1answer
39 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
32 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 { ...
0
votes
1answer
40 views

Woocommerce Product page edit

I am making a webshop with every category on another page. That's all done, but now I want to edit the view of the pages. So what you get for every product is: product image, product name, product ...