Forum Replies Created

Viewing 15 replies - 166 through 180 (of 3,465 total)
  • Hi Jim, for this kind of job I’d use default WP gallery with some simple lightbox plugin for the slideshow effect. And then use CSS selector, :first-of-type or :first-child, to target only the first thumb-size image element in the gallery and assign the display:block to it, while the rest of theme display:none.

    If you are interested in applying the same CSS code for Twentyten theme, please search for it in the forum or better yet just google it, there are plenty of articles on Twentyten theme. Just search for keywords like How to hide sidebar in Twentyten theme. Look at the selectors in the code I provide, when you get the code for Twentyten theme, just use WP’s page id class and child(sub) page class as shown in my code example.

    FYI: I don’t work on Twentyten theme anymore because it’s too old. I’d rather spend time with recent themes. I also would like to encourage you to pick most recent theme for longevity of the project. At certain point in time, theme will be retired. Some really old themes used over at WordPress.COM network get retired and not in used anymore because codes (HTML structure, CSS, and PHP code) when put together in theme won’t be able to keep on updated in a good sense anymore.

    That’s different theme in use, the CSS I provided is for Twentytwelve theme. Each theme has its own CSS class name, one CSS code won’t apply to all themes.

    The code I gave is for page id 266, because it’s in the OP which I think you need changes to apply this page and its child-pages.

    Your code use page id = 1453, but there is no page id = 1453 on your site, WordPress doesn’t inject the body class (.page-id-1453 ) into the body tag, it only gets error404 class (not found page), so the CSS code you use will never work.

    So just make sure you get the right page id.

    FYI: We don’t post big chunk of code like that in the forum. Please read under Post Code Safely and Posting Large Excerpt of Code on this guildlines page

    Forum Guidelines

    Forum: Fixing WordPress
    In reply to: Line Spacing

    There are these divs (and also elements like h2) with "class=gmail_default" and the text within it doesn’t have WordPress auto p tags wrapped around. This I assume it’s from copy&paste from gmail into post/page content.

    To fix this, I’d go over the post/page edit and switch the editor to Text Mode and manually delete all those unnecessary div tags.

    I’m sorry, I don’t quite understand the question. If this is related to the question in the OP, please clarify more in details.

    If this is another thing, please feel free to create another topic for it.

    How do I hide my Recent Posts so it does not show on my sidebar under Recent Posts?

    Try looking for plugins like Widget Logic or Dynamic Widgets (there are many others), this will allow you to display widget selectively using WP conditional tags.

    I only want it to show in the related category when I make postings in those sections.

    It seems you are talking about Related posts rather than Recent posts. There are many Related posts plugins, please look around and pick one that suits you the most.

    Another option is to use Display Posts Shortcode plugin and configure it to query posts based on your settings and use this shortcode in the text widget.

    For this kind of job, I’d just hide it using CSS specific to that page only.

    For example, this will hide header image and sidebar for the page id 226, and all its child pages.

    
    .page-id-266 .header-image,
    .parent-pageid-266 .header-image,
    .page-id-266 #secondary,
    .parent-pageid-266 #secondary {
          display: none;
    }
    .page-id-266 .site-content,
    .parent-pageid-266 .site-content {
         float: none;
         width: 100%;
    }
    

    Since you already on a child theme, use that code at the bottom of your child theme’s style.css.

    First of all, whatever design we do, don’t forget to test it in mobile (small screen).

    Now to answer the question: the main reason why the image is not clickable is because it’s absolute positioned and the div below it has this large top padding, so this padding occupied all the image area.

    There is other info that you need to know about stacking order. The opacity (or grayscale effect) on image will mess with natural stacking order of elements.

    Instead of what you have now for these 3 selectors, use this version, it works (I tested it using Chrome web dev tool).

    
    .latest-leaflet {
    	position: relative;
    	margin: 5px 0;
    }
    
    .latest-leaflet img {
    	margin-bottom: -80px;
    }
    
    .latest-leaftlet-detail {
    	padding: 0 5% 0;
    	z-index: 1;
    	position: relative;
    }
    

    Recent version of WP has this Additional CSS option built in. Personally, I’d use this option to put in additional/custom/extra CSS, so they can be managed in one place. Use CSS comments for each block of code so that I know what code is doing what.

    Some themes/plugins has its own Custom CSS option too. I suppose this had been done long before WP has this option built in, they still keep having it so that users don’t get confused.

    I checked via google cache and found that your site is using Twentysixteen ver 1.4

    Are you using the theme as is ? If the answer is yes, then just switch to other theme first and then delete the Twentysixteen theme from your WP and then download a fresh copy of it right there, and then switch back to this fresh copy of the theme.

    Another method, just go to this link

    https://themes.trac.wordpress.org/browser/twentysixteen/1.4/header.php

    and click on “Plain text” at the bottom and you will get the header.txt, now open this file and then Copy All and then paste into your blank header.php and then save.

    Hi, this is more like a theme specific question, not in a Fixing WordPress category. So please ask this question again in your theme’s forum.

    The post form is down below of this page.
    https://wordpress.org/support/theme/oceanwp

    To avoid coding, use Display Posts Shortcode in the page. Yes, some basic knowledge of query parameters required.
    https://wordpress.org/plugins/display-posts-shortcode/

    We can also create our custom Author template and query anything we want. WP will automatically use this template when visiting author url. If you want to go this route, there are plenty of articles on how to do this, use keywords like “wordpress custom author template”.

    Don’t use Twentysixteen theme, not that there is anything wrong with the theme itself, but when we work on a new project it’s better to always use the most recent theme, this is for longivity of the project. Old themes can only get so far, meaning there are some parts of php/html/css/js that when put together as a theme at one point in time it won’t be able to get up to date anymore. Some really old themes in managed network WordPress.COM get retired because of this.

    Recreating the look of the example site is simple and can be done with almost any theme with some extra CSS, and maybe some extra coding to put in the mentioned header (logo).

    There is no need to have the graphic person to make the images for that paper background, we can just grab them from the example site, the CSS for it is the same, just with different selectors.

    This might sound basic but a sometimes it’s overlooked. Please make sure that your theme actually has sidebar widget area in the post, some themes doesn’t have sidebar by design (the so called one-column theme), but allow the widget area in the footer. Also check theme options, see to it that theme has the option to display post/page with or without sidebar. Some themes have Post template and Page template for users to select, and this usually included the no-sidebar or with sidebar template.

    If all the above isn’t the case, then there might be theme/plugin conflicts. Try disabling all plugins and see if problem goes away, if it works then re-enable them one by one to rule out the culprit. If no plugins seem to be the problem, try changing theme, switch to any of the WP default themes and see if problem persists.

Viewing 15 replies - 166 through 180 (of 3,465 total)