Tag Info

Hot answers tagged

2

It's not showing because the .insertAfter() and .show() functions are called on resize events only, while mobile devices do not resize. They already load the page with their mobile sized. Just make sure you also run the code on the ready event: <script type="text/javascript"> /* to show back the left side bar back when the LEFT side bar is moved ...


2

That's the Jetpack Stats image, it's necessary to track the stats. You can disable it by disabling Jetpack Stats but it shouldn't be full width, that will be a CSS problem


1

There are many approaches to this. This is because the position: absolute on the sidebar-container is making it overlap over the footer. Try this CSS to override. This is a static solution: body.single .hentry // Selects the single posts { min-height: 2000px; // Set this according to the height of the sidebar } This one is a better solution: To work ...


1

It depends on your image and stylesheet location. But this is the syntax: .theme-image { background-image: url('../images/header-img.jpg'); } The above code is for the structure wp-content - themes - your-theme - images - header-img.jpg - css - style.css You are making the browser come one directory before and search for images ...


1

I am not sure what exactly you want. But I assume you want the desktop view in your mobile browser instead of responsive layout. You can use viewport to achieve this. Please check this tutorial: http://webdesign.tutsplus.com/articles/quick-tip-dont-forget-the-viewport-meta-tag--webdesign-5972


1

You need to target the specific pages with the build in body_class selectors. Themes have a template tag for the body tag which will help theme authors to style more effectively with CSS. The Template Tag is called body_class. This function gives the bodyelement different classes and can be added, typically, in the header.php's HTML body tag.


1

The problem is that you are enqueue the CSS file of your theme outside any of the recommended actions. If you want it to be added only in frontend, you should use wp_enqueue_scripts action: add_action( 'wp_enqueue_scripts', function() { wp_register_style( 'mainstyle', get_stylesheet_uri()); wp_enqueue_style( 'mainstyle', get_stylesheet_uri()); });


1

There is a simple solution for this. Let the gallery use the 5 column grid system and using the @media-queries we can alter it for tablet and mobile. I just tested it on your given URL and it works perfect. But try to remove any custom codes you have used before since I had to remove it in order to use the following code. /* For displaying 3 columns on ...


1

There are two possible solutions: CSS edit and File edit. CSS edit(Not the best solution, but works) .post-blocks .block-info span { display: none; } It is not possible for us to write the file edit code since we don't have access to your admin panel. Install WhatTheFile plugin to find out the template that renders the code for the page and edit the ...


1

The CSS code syntax is not correct. For post and page specific CSS, you need to use something like this: /* Replace x with post/page id and post with page and vice versa*/ .page-id-x .hentry, .page-id-x .entry-footer { background-color: #RGBColor !important; }


1

Multiple solutions for defining the images -> Post Thumbnails While creating a new post, you can set the Featured Image which will automatically set the post image. Since your image is full width, you need to set the size of the thumbnail using: https://codex.wordpress.org/Function_Reference/the_post_thumbnail Media Upload Go to Media -> Add New. ...



Only top voted, non community-wiki answers of a minimum length are eligible