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

Css class in menu can't change

I want to add a css class for some menus under appearence ==> menu and i did it for some of them but there are some munus that can't be changed and i get a not editable css class for them by default ...
-4
votes
0answers
16 views

How do I edit my WordPress site to responsive design? [on hold]

I have been working hard to make my WordPress website design responsive enough but ended up with failing attempts. If there is a solution anyone could suggest, it will be more than helpful.
0
votes
1answer
17 views

Theme tweak to header

My theme's support has been great generally but the following is out of their support policy (maybe because it could affect responsiveness). Is there any way I can align the navigation menu towards ...
0
votes
0answers
13 views

Will too many overridden css rules lead to performance issues

I am customizing the avada theme for my needs. Since the theme gives many options to style the fronted via its admin panel, I have to write many lines of simple css code for custom elements etc. Based ...
0
votes
1answer
21 views

Custom Woocommerce Category view

I'm kind of new to wordpress development and I'm trying to make a plugin so I can show all the categories I have in a list. The Idea is to customise the default view Instead of the default list: I ...
0
votes
0answers
30 views

Converting HTML to Wordpress theme: integrating pages function and using its text editor, conditional enqueuing

Recently I attempted to convert my static HTML to a Wordpress theme but to no avail. I was able to understand how to separate my code for my header, content, and footer, and I integrated the header ...
-3
votes
0answers
19 views

Landscape View Problem [closed]

I get a full broken pages as I changes the portrait view positions to landscape view on ipad devices. Could you provide a solution to this or any ideas?
0
votes
2answers
31 views

My stylesheets are not enqueuing

I'm in Wordpress 4.5.2 on Windows 10 and I'm trying to register and enqueue my stylesheet in Wordpress, but it just isn't working. I'm having the same problem with jQuery. I have this code in a ...
-1
votes
0answers
18 views

How to Reduce White Space on Front Page

I am trying to reduce the white space between the main menu and the page content and sidebars on the front page. How do I do that? I am working with twenty fourteen child theme.
1
vote
0answers
42 views

What is better way to use Bootstrap inside admin panel?

I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc. How can I use bootstrap.css inside wp-...
0
votes
0answers
17 views

Making Image Gallery the Width of the Page

I've been trying to find out ways to make the image gallery on my website's front page as wide as the very page itself. As in, I'd like it to stretch from the entire left side to the right side. The ...
0
votes
1answer
41 views

Need help removing […] after excerpt

My website is watersedgeofshelton.com and i need help removing the [...] after the excerpts on the blog posts (under activities, marinas and restaurants" I read that I had to add this code to my ...
0
votes
1answer
22 views

how to modify a <textarea> field's size in a metabox : ROWS height, and scroll control?

I'm stumped by being unable to find a way to do some really basic adjustments to the textarea in my custom metabox. Looking at a default Wordpress Post Admin screen, the Tags metabox is a single-line ...
0
votes
2answers
23 views

Change Background Color For CPT Template

Please help. Anyone knows of the proper way how to change the background color for a custom post type template only? Using chrome's inspect, I saw that my theme uses the ID of "#main" for all the page'...
7
votes
4answers
605 views

How to add CSS class to custom logo?

I enabled custom-logo for my theme and have it printed with <?php the_custom_logo(); ?> into the header. Is there any chance to simply add some more classes to this image directly? Per default ...
0
votes
0answers
17 views

disable inline css

Is it possible to block the use of inline styles and on-page blocks of CSS in the editor? I don't want to block the use of SVGs and other clever stuff but I just want to prevent someone from adding ...
0
votes
1answer
26 views

Dividing the loop to style post differently

I'm using a plugin that displays post and shows them in a certain area on my site, such as the sidebar or anywhere i put the <?php;?> code, but only if the author that is writing the post clicks ...
1
vote
0answers
35 views

wp_add_inline_style breaking style and not working

i have an option field where i save custom style and use wp_add_inline_style to output. But it does not work as expected. Suppose i have .fep-some-class > div but if i see source code of my page i ...
0
votes
0answers
32 views

Css and js loading from the primary domain but i have sub nginx

I have a primary domain (example . com) and 3 subdomains (site1. example. com, site2.example and site3.example) WITH NGINX, but when i loading in subdomain url , i see in source code it was loaded css ...
2
votes
0answers
36 views

Why isn't my theme processing SASS?

It's my understanding that Wordpress now processes SASS files but for some reason mine don't work. I'm trying to call it using wp_enqueue_style directly in header.php via the head tag: <?php ...
0
votes
0answers
20 views

Creating a custom sidebar section - adding widgets causes “Errors”

http://www.new.techmoney360.com/keek-provides-updates-on-peeks-product-launch/ - is an example of the work I'm doing right now. An example of a sidebar area I'm tying to achieve http://www.vice.com/...
2
votes
1answer
60 views

Understanding child theme functions.php

I have successfully created a child theme for the Emmet Lite template, using the information provided on here and here The CSS file of the child theme looks like this: /* Theme name: Emmet Child ...
-1
votes
1answer
37 views

Bootstrap navbar-fixed-top issues [closed]

I am using a Bootstrap navbar-fixed-top and I have added this css to drop it below the admin bar: @media screen and ( max-width: 782px ) { .logged-in .navbar-fixed-top { margin-top: 46px; } } ...
0
votes
0answers
23 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
19 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
3answers
48 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
17 views

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

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
15 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
vote
1answer
36 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 ...
-1
votes
2answers
37 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
28 views

Load files content [closed]

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
15 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
33 views

Wordpress archive page showing 404 Error [duplicate]

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

Using PHP for background-image property [closed]

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" class="content-...
1
vote
1answer
19 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
197 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 (e.g....
2
votes
1answer
132 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
42 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 ( $the_query-...
0
votes
1answer
30 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
2answers
27 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
36 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
46 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, etc....
-4
votes
1answer
26 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
28 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, ...