adding a css file to my plugin

Don’t put the full path to the file in wp_register_style() use plugins_url() to get the full url with just the path from the plugins folder. So change: ‘localhost/wordpress/wp-content/plugins/mein-plugin/style.css’ To: plugins_url( ‘style.css’, __FILE__ )

Stop underlining image links

By definition it isn’t really hyperlinked image. It is hyperlink tag a that contains image tag img. Most probably it is a link that is really underlined, image is just inside it. You need to create new CSS rule that matches your link with image and specifies no underline (it could also be border-bottom property … Read more

Do you use css reset in your child theme [closed]

The _s (or Underscores) theme is a great starter theme. It’s not a child theme, rather a barebones template that you can build on. It includes many features such as HTML5 templates, custom header, custom background and theme options implementations, custom template tags, 5 sample CSS layouts, starter non-presentational CSS that you can build on, … Read more

Creating a Horizontal menu

In my opinion, this is a CSS-only question. You have to provide the <li> elements in your menu with the CSS style display: inline; (or ‘inline-block’).

Removing Author name

First you need to have a child theme. Add this to your style.css of your child theme .entry-meta .byline { display: none; } This should remove only the author from the post. Here’s a bit more information on customizing twenty fourteen theme in wordpress: http://techdwarf.com/customize-twenty-fourteen-theme-wordpress

Add CSS class to PHP Statement

You need to wrap it in an HTML element that has a class. Doing it with your code will require changes. You can either do it outside the PHP, which will require changing where you open and close the PHP tags: <?php } else { ?> <span class=”classname”> <?php esc_html_e(‘No results found’,’ThemeName’); ?> </span> <?php … Read more

Overriding WooCommerce CSS? [closed]

You can change the CSS loading order. Find the place where WooCommerce enqueues it’s CSS and keep in mind it’s $handle (name). Search for wp_enqueue_style. Then go to theme’s functions.php and find the place where your theme enqueues it’s CSS. Now change your theme’s wp_enqueue_style by adding WooCommerce’s $handle to $deps (dependencies) parameter of theme’s … Read more