Forum Replies Created

Viewing 15 replies - 421 through 435 (of 3,465 total)
  • There are 4 widgets that Sugar and Spice theme provides
    https://themes.trac.wordpress.org/browser/sugar-and-spice/1.3.2/inc/widgets

    All of them are just UI for simple HTML input, meaning we can avoid using that and put in the HTML in WP’s standard Text Widget. Just view source (on your Sugar and Spice with that widgets and copy the source code to put in Text Widget in Sela theme’s sidebar).

    There are also other archive widget availabe as a plugin (check on plugin page). There is another way to do this archive widget by using WP’s menu setting, set up the menu links to archive page as we want and the use WP’s standard Custom Menu Widget targeting that menu that we just set.

    For the social widget, they are just normal text links with icon styling, this we can put in Custom CSS and make use of icon font (that Sela theme has already).

    Use this code instead

    /* hide */
    .home.page .hero-container-inner .entry-title {
    	border: 0;
    	clip: rect(0 0 0 0);
    	height: 1px;
    	margin: -1px;
    	overflow: hidden;
    	padding: 0;
    	position: absolute;
    	width: 1px;
    }
    
    /* show */
    .home.page .hero-container-inner .entry-header::before {
    	content: "This is some very long page title that will wrap into second line";
    	display: block;
    	margin-bottom: 1em;
    	font-size: 2.4rem;
    	font-family: "Oswald",sans-serif;
    	font-weight: 300;
    	letter-spacing: 2px;
    	line-height: 1.7;
    	text-transform: uppercase;
    }

    Hi, The HTML markups need to be simpler, now there are two div with id #mainContent and there are also a few other things too. So we need to fix the markup first.

    but anyway this code will do what you what with current markup.

    body { background: gray; }
    
    #mainContent {
    	background: white;
    	margin: 0 auto;
    	max-width: 900px;
    }

    I would just use TwentySixteen theme as a base theme, either make a new theme out of it or use it as parent and create a child theme. It’s way easier to get the site look like the original one.

    Use this in Custom CSS plugin (or via theme option if provided)

    .post-date { display: none; }

    Use this code in Custom CSS plugin, just change the color code to your own.

    body { border-top-color: #ff0000; }

    Custom CSS plugin
    https://wordpress.org/plugins/search.php?q=custom+css

    Hex color code chart
    http://www.color-hex.com/

    Use this in Custom CSS plugin will center the main content container

    .site { margin-left: auto; margin-right: auto; }

    BTW, it’s bad for SEO and accessibility to not putting in site title. I strongly suggest putting in the site title and use CSS to hide it visually.

    This code will do just that, just change the “Hello” to your own text

    .home.page .hero-container-inner .entry-title::before {
    	content: "Hello";
    	display: block;
    }
    .home.page .hero-container-inner .entry-title {
    	height: 41px;
    	overflow: hidden;
    }

    It will do that only for front page title. The code is tested on this demo site https://selademo.wordpress.com/

    Make sure to use the code in Custom CSS plugin.

    The answer to your last question is in my first answer post.

    A blog post would be a collection of photo backgrounds (or even a white image BG if I want no photo) that tile up from left to right, and each photo can have it’s own overlay of text with options (placement top left-right etc / width of paragraph / font / size / color / transparency).

    If it’s for repeatable use in post content, we can use native WP gallery and use the text as caption, then style the caption forcing it to lay over image. The problem is we will have to be consistent on the format, the amount of text, the position of images and text. So that we can come up with custom CSS that always work.

    We can go with WP native gallery (as noted above) or manually write HTML markup in the post content.

    This kind of design is NOT viable, because we will have to consistent on how to write the post (amount of text per image), and the font color that must be changed based on darkness/brightness of the image (this CSS alone can’t do it, there must be JS involved, or manually tag the post and use only CSS based on it).

    The right way is to not approach web design with print design. We should rather understand the nature of web design and embrace it.

    I’m afraid there might be some misunderstanding here.

    Comparing TwentyTwelve from old version (I picked v 1.4) to the latest (v1.9) returned nothing regarding font size change.

    https://themes.trac.wordpress.org/changeset?old_path=/twentytwelve/1.4&new_path=/twentytwelve/1.9#file36

    The problem OP referring to could be a change in browser’s default, you know new version of browser can have this kind of changes.

    This will fix it, also included the .circular to make the profile pic round in all screenwidth (currently it’s not).

    .facebook, .email, .twitter, .pin, .inst { display: inline-block; float: none; }
    @media screen and (min-width: 1024px) { .facebook, .email, .twitter, .pin, .inst { width: 40px; height: 40px; } }
    .circular { width: 100%; height: auto; }

    Code will work only if used in Custom CSS plugin (because it must be loaded after theme’s main stylesheet so that it can override the default).

    We can achieve that by either creating custom loops (WP_Query) in front page template, or use a plugin like “Display Posts Shortcode”.

    …the placement of the text, it’s color, and the width of the paragraph?

    All of that is adjustable via CSS. CSS is what dictate how elements will be placed, its color and stuff.

    Thing to consider is the responsive design aspect, everything must look good on smartphone, tablet, normal PC, so the amount of text and its placement can not be exactly the same in all screenwidth.

    Yes, I do complete design work. But this forum is not allowed to discuss hiring. Please try this http://jobs.wordpress.net/

    Depending on the theme, for example this TwentySixteen demo site here https://twentysixteendemo.wordpress.com/ , this Custom CSS code will hide the tag archive link named “beautiful”

    .tags-links a[rel="tag"][href*="tag/beautiful"] {
    	 display: none;
    }

    or just this would work too

    .tags-links a[href*="tag/beautiful"] {
    	 display: none;
    }

    and this will display:none the tag listing page (archive)

    .archive.tag-beautiful .site-main {
    	 display: none;
    }

    These are examples to hide visually the tag name “beautiful”, hiding it visually is done via CSS but the source code will still output normally, just so you know that if someone views source it’s still there to see.

    WordPress only crop image to sizes once upon upload.

    When we change the image size in function, it only apply to newly upload and not the one already upload.

    Use a plugin called “Regenerate Thumbnails” to make WordPress create new image sizes for images already upload.

    This is this (gray color as it appears) coming out from theme’s inline style

    a:focus, select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="submit"]:focus, input[type="checkbox"]:focus {
      outline: 5px auto #beb9a9;
      outline-offset: -1px;
    }

    Also this (red color as default) from the theme’s style

    a:focus {
      outline: 5px auto #ff2a13;
      outline-offset: -1px;
    }

    So just go to theme option where it originates the inline style and disable it.

    This code will disable it but I wouldn’t recommend using it because we should get rid of it from the source rather than override it, but anyway

    a:focus { outline: none !important; }
Viewing 15 replies - 421 through 435 (of 3,465 total)