Forum Replies Created

Viewing 15 replies - 541 through 555 (of 3,465 total)
  • @sarah-y , Did you put in the slider id number? First we need to have the actual slider set by creating a slider uploading the images and stuff and then we get the slider id to use via shortcode, or output the shortcode in template.

    No problem, happy to help 🙂

    To increase logo size; use this code in Custom CSS option if theme provided, or use a Custom CSS plugin. Change the value to suit your design.

    @media screen and ( min-width: 45em ) {
            .site-logo {
                    max-width: 480px;
            }
    }

    Theme disable the appearance of site title and site description without effecting SEO, (it uses CSS clip which is one of the standard method to hide text visually), so it’s not showing but it’s in the source code. Regarding the SEO, search engine in this time is very smart, I believe it knows what part is important even if it’s under CSS’s display-none.

    This will involve template file editing. It’s a good practice to do this via Child Theme. So first create a child theme for your theme and make sure it’s working.
    https://codex.wordpress.org/Child_Themes

    Copy over header.php from parent theme into child theme
    https://themes.trac.wordpress.org/browser/fashionistas/1.7/header.php

    Put this code in at Line 75 (add in at the bottom)

    <?php echo do_shortcode("[metaslider id=xxx restrict_to=home]"); ?>

    The xxx is the slide id, it shows in slide setting, use that number.

    If you skip making a child theme and make change directly to theme file, be aware not to make mistake, always have Full Site backup and know how to restore it.

    So if I just updated to 1.26 from 1.23 are you saying I would just need to extract the changes from my style sheet and that’s it?

    If changes made to the modified theme only done on theme stylesheet, and nothing else, then yes. Also in this case there is no need for child theme, we only need a Custom CSS plugin.

    To do this we need to extract all the changes in edited stylesheet and re-declare it one by one in child theme stylesheet.

    Not sure what you mean here – sorry! – if I follow the steps from this link will that work?

    https://codex.wordpress.org/Child_Themes

    That link doesn’t explain how to extract changes in CSS made directly to theme. It only explains how to make a blank(starter)child theme.

    Suppose this is the whole (parent) theme stylesheet.

    p {
    	font-family: "Tahoma";
    	font-size: 10px;
    	line-height: 1.5;
    	margin-bottom: 24px;
    	color: #000;
    }

    and then we’ve made direct changes to it like so, notice in this case only the font-size value is changed.

    p {
    	font-family: "Tahoma";
    	font-size: 16px;
    	line-height: 1.5;
    	margin-bottom: 24px;
    	color: #000;
    }

    and now when we want to update the theme and separate (extract) the changes into child theme stylesheet (or use a Custom CSS plugin), then our code will be just this

    p {
    	font-size: 16px;
    }

    See it contains only changes we want to make, this code whether using a child theme or Custom CSS plugin will be injected into html head after the main theme stylesheet, and it will override the main theme CSS code (because it’s loaded after).

    This worked before I added this theme, and I haven’t installed or made changes to any plugins.

    I just installed this theme in my local dev. The text formatting and auto paragraph worked just fine.

    It shows formatting when editing but after saving/publishing, it’s plain text with no space between the paragraph.

    Can you confirm that we are talking about the single (full) “Post” page, or the Page, not the Post Excerpt part where it appears on Post listing page (blog home/archive)?

    Could you share link to the real site? So people here can help inspect.

    Actually that is standard functionality. Theme always allow formatting text and space between paragraph is also the default.

    See the demo here
    https://wp-themes.com/one-blog/?p=36

    WordPress will auto wrap chunk of text with HTML paragraph tags (<p>text here</p>), it does so when there is 1 space line (hard enter) between chuck of text. This will happen automatically regardless of theme in use.

    So maybe there is something else that prevents this? like a problematic plugin?

    Do you mean this happens to the excerpt in post listing page? If that’s so then it’s also normal for theme to strip out text formatting in this part.

    You are using a managed system at WordPress.COM, over here is a support for self hosted WordPress.ORG

    See this page explaining the differences
    https://en.support.wordpress.com/com-vs-org/

    Support for WordPress.COM sites
    https://en.support.wordpress.com/

    can someone tell me if there is css that can make this happen

    This code will fix it for the front home page

    @media screen and (min-width: 1180px) {
    	.home.page .content-wrapper.with-featured-image {
    		margin:0 auto;
    		padding: 3em 55px;
    		max-width: 960px;
    	}
    }

    You are using a managed system at WordPress.COM, over here is a support for self hosted WordPress.ORG

    See this page explaining the differences
    https://en.support.wordpress.com/com-vs-org/

    Support for WordPress.COM sites
    https://en.support.wordpress.com/

    Typically when child theme is in use it will load main stylesheet from parent theme before child theme stylesheet. So browser uses parent theme stylesheet as a base and read the changes in CSS from child theme stylesheet.

    So the CSS in child theme only contains code that we want to override (re-declare the selector/property/value) browser will use the new value and ignore the one in the base (parent theme).

    To do this we need to extract all the changes in edited stylesheet and re-declare it one by one in child theme stylesheet.

    No changes made to functions.php file

    What about theme template file? If they are also untouched, we might not need a child theme after all, since the only changes made is in stylesheet we can just extract the changes (in CSS) and use it in a Custom CSS plugin.

    Files you mentioned and content in database (post/page/widget/menu) won’t get affected when changing or updating theme. The only thing that might get overriden is theme files, in this case the wp-content/themes/sydney

    Make sure you always have full site backup
    https://codex.wordpress.org/WordPress_Backups

    Most web servers do regular backup, we just need to know how to get them and know how to restore the site when necessary.

    If I create the folder and use my existing stylesheet and create a functions.php file for the child theme and upload this and then update from 1.23 to 1.26 is that correct?

    It depends how much changes had done to the edited theme. If there is any changes made to theme template file, we need to override that template in our child theme.

    Is there any changes made to theme functions at all? If so, we need to override it in our child theme functions.php.

    The edited version of theme stylesheet should not be used in as child theme stylesheet, we need to make changes by overriding parent theme CSS, so our child theme stylesheet only contain the overriding changes.

    It’s better to test if our childtheme is working correctly in staging environment before moving over to the live site.

    Forum: Themes and Templates
    In reply to: Enlarge Logo

    Using code from Mr Case , we can also adjust the size so it goes with theme’s responsive design.

    .site-branding, .site-branding img {
    	height: auto;
    	max-width: 320px;
    }
    
    @media (min-width: 600px) {
    	.site-branding, .site-branding img { max-width: 400px; }
    }
    
    @media (min-width: 1200px) {
    	.site-branding, .site-branding img { max-width: 480px; }
    }

    Use this code, along with what you already have, will make the button on other page the same color as the one on the home page.

    a.button-minimal {
    	color: #fff;
    }
    a.button, a.button-minimal {
    	background: #009688;
    	border-color: #009688;
    }
    a.button-minimal:hover,
    a.button-minimal:focus,
    a.button-minimal:active  {
    	background: #00897b;
    	border-color: #00897b;
    }
    Forum: Themes and Templates
    In reply to: Mobile css

    is it possible to dump a CSS rule that week make the image align centrally when views on a mobile please?

    Yes, it’s something like this

    @media only screen and (max-width: 600px) {
    	article img { display: block; margin: 0 auto; }
    }

    There is no way to know the right selector without inspecting the real site but suppose the theme is HTML5 the code above should work.

Viewing 15 replies - 541 through 555 (of 3,465 total)