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

How to prevent overlapping of two divs?

I have a page, when i am looking this page on a laptop screen the two divs are rendering properly but when i am looking this page on mobile screen these two divs are overlapping above each other. I ...
0
votes
0answers
23 views

How to alternate (flipped css) when displaying a list of posts?

I have a list of posts that look like this (simplified for question): [] Cat 1 ... Title1 list of posts 2 3 4 5 [] Cat 2 ... Title1 list of posts 2 3 4 5 [] Cat 3 ... Title1 list of posts 2 3 4 5 I ...
1
vote
2answers
4k views

Add CSS class to every image

I want to add a CSS class "myimg" to every image both inside and outside of a post. What is the best way to approach this?
0
votes
0answers
14 views

Stop responsive widgets realigning on website

I've been trawling the net but can't find a lot. Essentially my website is using the customizr theme with site origin page building blocks to create it what it is. I'm trying to stop the widgets (2 to ...
0
votes
0answers
19 views

Is there any way to turn off a particular scrolling behaviour?

I'm not sure that this is a wordpress behaviour, but it seems to be. On certain blogs, when I scroll using either arrow keys or trackpad, it scrolls in a much jumpier way than the default behaviour. ...
0
votes
3answers
46 views

Long post titles don't move to next line

As you can see in the post title at http://fosit.staging.wpengine.com/, when the post title gets to the margin it doesn't continue on a new line; it continues on the same line. I don't know if this ...
0
votes
1answer
16 views

WordPress Customization API overwrite LESS variable

I am fairly new to WordPress Developing. Currently I am developing my own theme and would like to add css LESS. Don't think this is a problem ? I was wandering if it is possible to overwrite LESS ...
0
votes
1answer
285 views

how to remove padding from left and right side? [closed]

I am using make theme bb theme foundry. I want to remove padding from both side I add this code to style.css file under body tag { margin-left: 0px; margin-right: 0px; } then tried this ...
0
votes
1answer
37 views

Test wrapping cutting words in half on my WP site [closed]

How do I solve my problem with text wrapping in my columns on: http://socialeer.dk/om-os/ I would like to have the text wrapping happen and dividing the words correctly (please note that the text is ...
0
votes
1answer
1k views

Create a full width responsive header image per page

I’m new to Wordpress - currently building a site that has a few pages (Home, Artists, History, Videos). Each of those pages need a custom header containing a responsive full width image (the image ...
0
votes
1answer
48 views

Image getting out of container [closed]

In my index page, I use the featured image next to the post excerpt. .alignleft { display: inline; float: left; margin-right: 1.5em;} .wp-post-image { ...
1
vote
5answers
1k views

Hide Front-End Admin Bar Including 32 px Spacing

I have a custom template and I inserted the following snippet to get rid of the admin bar for the page: function hide_admin_bar(){ return false; } add_filter( 'show_admin_bar', 'hide_admin_bar' ); ...
0
votes
0answers
57 views

Child themes with multiple css files in parent

The Wordpress Codex states "If your theme has more than one .css file (eg. ie.css, style.css, main.css) then you will have to make sure to maintain all of the Parent Theme dependencies." What PHP code ...
0
votes
1answer
32 views

Is there a way to add additional CSS styles to the styles css file dynamically?

I would like to add additional styles to the styles.css file before it is sent to the client. Is this possible? Currently styles.css contains : /* Theme Name: My Theme Theme URI: ...
0
votes
0answers
19 views

Reproduce sub-navigation drop down

We have a navigation bar that when you hover over it there is a drop down on 3 out of the 5 menu items; I'm trying to add the other two. I have added what looks like the right code but I can't figure ...
0
votes
2answers
35 views

Internal Stylesheet in Wordpress Theme development

I'm almost done creating my own wordpress theme and it will be my first theme that I'll be submitting to wordpress.org I have used internal CSS in many pages because the styling is used for a ...
3
votes
2answers
328 views

How to remove all styles for certain page template?

I know how to create child themes and page templates. I have a child theme of Salient called Salient-Child, and I have a page template called blankPage.php. For all pages that use this template, I ...
1
vote
2answers
206 views

How to change Parent Themes in Child Theme CSS

I am confused as to how I'm supposed to switch parent themes in my child theme css. Right now my website protovest.com is using responsive theme but I want to change it to a theme called tesseract. ...
0
votes
1answer
129 views

Cannot change hover color for links

I am using twentytwelve and a child theme at http://fosit.staging.wpengine.com/. I would like all links in my website to have this dark blue color on hover: #0f3647 The only links where this color ...
0
votes
1answer
68 views

Vertical Menu items shifting to same line when window size increased [closed]

I've tried messing with float and clear but could get anything to keep this from happening: "Fun" and "Shop" are supposed to be on different lines. Here's the CSS involved with the nav/ul/li/a: ...
1
vote
2answers
672 views

Adding dashicon fonts to the admin of pre 3.8 installs

I've started using the dashicon fonts in my theme options page for WP 3.8+ users. To take care of users on < 3.8, I've added the dashicon fonts to my theme folder and also an entry at the top of my ...
0
votes
1answer
133 views

How do I apply/target css to a specific user role?

How would I apply some front end css to only a specific user role/s?
0
votes
1answer
283 views

Background image call problem

I simply can't find the correct way or working way to do this. I've made an alternative header and added an option with redux theme option to have the alternative header. I've also made a ...
0
votes
1answer
26 views

Floated element floats into post content in IE, Safari, and Chrome

I'm using twentytwelve and a child theme. I modified the theme so that the links for "Continue reading" and "Leave a reply" (or "N Replies") appear on the same line under each post. I did this by ...
0
votes
0answers
24 views

is there any way I can hide auto generated hidden br tags

I am working on form but after submit button there are some auto generated hidden tags that result in lots of space after submit button that looks ugly ,is there any way I can hide this Regards
0
votes
1answer
70 views

How to not load stylesheet and how to load a second stylesheet on a page

I'm deving a new header (working on a page that includes that new header). I want to edit my head section to NOT load my stylesheet and load a different stylesheet (style2.css). I've spent the last ...
0
votes
1answer
21 views

Sidebar at bottom however I have completely replaced theme folder back to original code

Wordpress sidebar stuck at bottom despite replacing the entire theme file(works with other themes), Help please I have been over the web and most people do not have the problem I have it seems. I ...
0
votes
1answer
88 views

remove/hide wp-editor

I have created a meta-box for a certain page_template. So if the adminpage is loaded with the template it shows the metabox. This does not require the wp-editor to add content. So I would like to ...
0
votes
1answer
40 views

Increase content area width in TwentyFourteen [closed]

In this website I need to keep the left nav sidebar on the left side of the browser window and get the white content area to extend to the right side of the browser window. I spent a good two hours ...
0
votes
2answers
34 views

Is it safe to use WordPress generated classes?

I'm currently customizing a theme in WordPress and was wondering if it's safe to use the WordPress generated classes in my CSS. For example, is it okay to use .page-id-105? Is there any chance that ...
0
votes
2answers
33 views

Background setting isn't applied to entire sidebar height

I am working on this WP website and can't for the life of me get the entire height of the sidebar to take the background setting. The theme is a child of TwentyFourteen. Through FireFox's Inspect ...
0
votes
2answers
88 views

Site name not showing in browser bar, only url

Sorry for this question, but I can't work out why my site name isn't showing in the browser window even though I have wp_title() in the <head>. All I have done is used CSS to indent the text ...
0
votes
0answers
46 views

Site not 100% responsive

I created a site for a client. It was 3 columns but she wanted only two, so I adjusted the code a little bit and made it 2 columns. The featured post area under the slider is my problem; the whole ...
0
votes
1answer
37 views

Dropdown menu's fighting with each other [closed]

I'm sure there's a simple CSS answer to this that I'm not seeing :( http://www.glennduxbury-inspections.com/litb/ On my navigation menu if you hover over a sub menu item, and then slowly move your ...
1
vote
2answers
83 views

Unable to remove space between header and slider section in wordpress website

I am creating a wordpress website (colorsplash.info/vinovekitchenware/). Currently I am stuck with the following problem: i want to remove the white space between the header and the slider. After ...
-2
votes
1answer
4k views

Changing when mobile menu is displayed

Wordpress seems to be displaying the mobile menu (in Twentythirteen at least) at 643px wide, however i need it to activate at 767px. I cannot seem to be able to find what activates the menu at 643px, ...
14
votes
1answer
4k views

How can I use WordPress functions in my stylesheet?

I have my style.php file looking like this. <?php header('Content-Type: text/css');?> #div{ background:<?php echo get_option('bgcolor');?>; } This does not work, but when I do ...
0
votes
0answers
282 views

Problem with expanding search form in header

I'm trying to create a expanding search form in the header( I'm new to CSS), which will expand when hovering over the icon that I use. When hovering over the "search-field" class it will expand to ...
0
votes
2answers
23 views

Faster fonts on mobile

I think I have a great idea to make my site load faster in mobile: "don't load the custom fonts in small screens" I know how to style/change the font used depending on screen size with media queries ...
1
vote
1answer
40 views

How to disable wordpress from overload my stylesheet styles with customizer styles

I realized that, the customizer's styles are default highest priority because they are somewhat embedded into the page. I want to store ALL styles in my .scss file which using SASS to manage CSS and ...
0
votes
1answer
1k views

Change CSS for logged in users

In my css i have a hidden div id: #example {display:none;} How can I set this to display:block for logged in users only? I am assuming using Jquery would be the best option here for best ...
0
votes
0answers
32 views

Remove nav menus from Wordpress landing pages

I am a webmaster not a developer and I don´t know too much do go easy on me. I have landing pages for adwords campaigns on my wordpress website (www.oxfordtefl.com) and I would like to remove the top ...
0
votes
2answers
801 views

How to add page using HTML, CSS and JS?

So I have a client who wants a little extra that is beyond capabilities of my wordpress theme that I have purchased. I know through html, css and js I can create it from scratch (they want animations ...
0
votes
1answer
171 views

How to set the cursor to “wait” while page is loading?

I have a few pages that take a long time to load. How can I have the cursor display the hourglass or wait cursor while loading, then revert to the initial cursor? Thanks, e
0
votes
3answers
309 views

Infinite scroll messing up nth:of-type

I am using infinite scroll of my local theme here and it is causing some CSS issues. I was hoping if I ran this by some of you, you might have a solution to offer. This is pretty much the layout: ...
0
votes
1answer
245 views

How to add meta fields to custom taxonomy add/edit page?

I have a custom taxonomy 'issue'. I tried to add some meta fields to the add/edit issue pages in the dashboard using the method explained by Ohad Raz ...
2
votes
1answer
196 views

the_author_posts_link css class

Currently I'm styling as project where I need to add a custom CSS to the_author_posts_link(). I want to add the class "blog-link" with the the_author_posts_link() . How do I add a css class to it?
0
votes
0answers
38 views

foundation 5 css/js won't load in wordpress

I am really stuck with some error that I find really confusing. I have my functions.php inside my custom theme folder but why is it looking for css/js inside twentyfourteen? (index):101 GET ...
0
votes
1answer
22 views

Using Grunt and keeping theme comments

I used Grunt to minify CSS then combine them together in my WordPress theme. I combined all the CSS into 1 file called main.css . However in order to register the theme I still need a style.css ...
0
votes
1answer
106 views

Extend Menu Walker Output

I've found a custom Menu Walker on the Internet that was perfect for my multilevel menu. It fitted almost like a glove. I've made some tiny improvements but now I need to limit the number of ...