Forum Replies Created

Viewing 15 replies - 136 through 150 (of 215 total)
  • Theme Author Tim Nicholson

    (@timnicholson)

    Sure. v1.3 has quite a bit in it. Its in the readme.txt file, but for some reason WordPress themes don’t show a tab for the change log like it does for plugins.
    * Added responsive video! This works automatically as long as the Jetpack plugin is active.
    * Added basic support for the new Jetpack “Portfolio” post type. The title and description will display properly on the pages.
    * Changed Google fonts to load more efficiently from functions.php instead of using @import in the stylesheet. This also makes it easier to override the fonts in child themes.
    * Removed background color from the page as this was overriding the user’s chosen background color in the Theme Customizer
    * Update page-fullwithposts.php and page-fullwithsubpages.php to put the page meta and comment section after the recent posts. This looks much nicer.
    * Several fixes for multiple language support (fixed mismatched text domains, added some strings that were previously hard-coded, cleaned up some existing text strings, generated .pot translation file in the /languages directory)
    * Added Spanish language support thanks to Carlos Folch <8tintin@gmail.com>
    * Added search field and login/logout link to the site-index page template
    * Moved Page Top widget area below the full-width page header
    * Since the footer menu doesn’t allow submenus, display only the top-level menu items
    * Display a default footer when previewing the theme and upon initial installation of the theme
    * Display a default Page Bottom widget when previewing the theme and upon initial installation of the theme
    * Updated readme.txt to include instructions about removing these default widgets
    * Added icon-xlg CSS class to easily make even larger icons for Font Awesome and Glyphicons
    * Moved flat-bootstrap-child from being a submodule to included and managed directly by github in this parent theme

    Theme Author Tim Nicholson

    (@timnicholson)

    Hi, you have to do it in the php code. Specifically the footer.php file. Or you can add a function to functions.php to override it. Like this:

    /*
     * Override site credits to say "copyright [year] by [sitename]"
     */
    add_filter('xsbf_credits', 'xsbf_xs_credits');
    function xsbf_xs_credits ( $site_credits ) {
    
    	$site_credits = sprintf( __( '&copy; %1$s by %2$s', 'xtremelysocial' ),
    		date ( 'Y' ),
    		'<a href="' . esc_url( home_url( '/' ) ) . '" rel="home">' . get_bloginfo( 'name' ) . '</a>'
    	);
    	return $site_credits;
    }

    Theme Author Tim Nicholson

    (@timnicholson)

    Glad you were able to get this resolved.

    Theme Author Tim Nicholson

    (@timnicholson)

    Ok, if you want to widen the entire width of the page, so that both the main content area and sidebar are wider, then you can simply increase the width of the container. This is what I was referring to in the first bullet in my original response. i.e. something like this:
    .container { width: 1370px; }

    If you want to leave the page width the same (theme default is max width of main content area and sidebar of 1170px), but change how much of that space is for the main content area versus the sidebar… that is what I described in bullet #3 above. i.e. changing sidebar.php, page.php, etc. to alter the number of columns.

    You can also do both of these things together to widen the entire page and also change how much of the page the main content area uses.

    Theme Author Tim Nicholson

    (@timnicholson)

    Also, I think the theme looks pretty decent with a left sidebar without changing the css. The About page on my test site is set up with a left sidebar if you want to see it: http://xtremelysocial.com/test/about/

    Theme Author Tim Nicholson

    (@timnicholson)

    Ok, now that I see your site, that is helpful. I thought you were having an issue with *too much* whitespace between the main content area and the sidebar. Your mockup shows a lot of space and says “make text zone wider”, which I assumed meant put it closer to the sidebar. But your site shows the normal, small amount of space, so I’m totally confused as to what you are trying to accomplish. Do you want more space or less space?

    Also, to change the green color of the header text, go in to Appearance -> Customizer and you can change the header text there. To change the highlight color for the selected menu item, add css like this… just change the text color and background color to whatever you want.

    .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover,
    .navbar-default .navbar-nav>.active>a:focus {
        color: #555;
        background-color: #e7e7e7
    }

    Theme Author Tim Nicholson

    (@timnicholson)

    Thanks for posting a different screenshot. It looks like you have something strange going on with the content area itself. There should be a margin between the main content area and the sidebar, but it shouldn’t be that wide. Can you send me a link to the live page you took that screenshot from? I need to be able to look at the HTML of the page.

    Theme Author Tim Nicholson

    (@timnicholson)

    Hi. First of all, thanks for the kind words! Most of the changes you are wanting to make are fairly complex because they are controlled by the underlying Bootstrap CSS framework itself. More specifically:

    • The left and right margins are defined by the width of the “container” class in bootstrap.min.css. They are set to 1170px on desktops but there are media queries that change that for smaller screen sizes. You can override them in style.css if you want.
    • For the section that has the page title, that has a CSS tag of header.content-header which by default is a min-height of 170px. You can set that to a smaller number if you want.
    • The space between the sidebar and the main content area is more difficult. The reason you have so much space is because your sidebar is on the left and the list items you have there are short. If you want to narrow the left sidebar column, then you need to reduce the number of columns in sidebar-left.php. Right now you’ll see CSS tags of “col-md-4 col-md-pull-8”. You can change that to “col-md-3 col-md-pull-9”. But the total columns across the width of the page needs total 12, so you have to edit page-leftsidebar.php to change “col-md-8 col-md-push-4” to “col-md-9 col-md-push-3”. And that is just for the page template with a left sidebar. If you want to change it for all other pages (default is right sidebar), then you have to also edit sidebar.php, index.php, 404.php, page-sideindex.php, page.php, search.php, and single.php.

    I’ll consider adding a new theme option parameter to functions.php where you can specify the number of columns for the sidebars. Then you wouldn’t have to edit all those php files. I’m about ready to release the next version of the parent theme (Flat Bootstrap), though, and I’m not sure this will make it into that version.

    Theme Author Tim Nicholson

    (@timnicholson)

    BTW, if you prefer to edit the php, the code that controls this is in content-header.php… but CSS is better, especially if you use the Jetpack plugin’s “custom css” feature. Then you can upgrade the link theme without any issues when I release the next version of it.

    Theme Author Tim Nicholson

    (@timnicholson)

    Hi Jay. Thanks for the kind words! Yes, the theme is designed where if you leave the featured image title and caption blank, it pulls in the site title and tagline. CSS is a good way to hide it, but it sounds like you only want to hide the text on your home page. So you can do it like this:

    .home .header-image-title, .home .header-image-caption {
    	display: none;
    }

    This shouldn’t effect search engine optimization too much because the meta tags on the page will still list your site name and tagline. You could also go into the advanced image options for the featured image and put those things in the image alt tag as well.

    Theme Author Tim Nicholson

    (@timnicholson)

    If you prefer a fixed navigation bar at the top, you can use my Pratt theme instead of link. Its very similar, but with a fixed nav. Its not the exact nav on my site as I want to keep some things unique, but its close. Pratt theme

    Theme Author Tim Nicholson

    (@timnicholson)

    This has been confusing to others as well. I do not want to build a bunch of theme-specific options and force users into certain types of page layouts. However, when previewing my themes and upon initial install they will look pretty boring until content is added. So what I’m doing is showing some sample content. Once you add any widget (even a blank text widget) to the Page Bottom and Footer widget areas, those samples will no longer display. So its up to you to add whatever widgets you want to those areas to show the content you want for your pages.

    Forum: Themes and Templates
    In reply to: [Link] Map
    Theme Author Tim Nicholson

    (@timnicholson)

    Hi. The sample code for the map looks like this: <iframe height="400" width="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.es/maps?t=m&ie=UTF8&ll=52.752693,22.791016&spn=67.34552,156.972656&z=6&output=embed"></iframe>
    You should just be able to change the latitude and longitude parameters to point to the location you want. You can also change the zoom (z) level.

    Here is the Google maps documentation: Google Maps Embed API

    Theme Author Tim Nicholson

    (@timnicholson)

    gWorlds, I believe that is exactly what 213edu was looking for. I’ll mark this topic as resolved.

    Theme Author Tim Nicholson

    (@timnicholson)

    Thanks, I’ll mark it closed. I didn’t want to create a ton of theme options as I like to keep things simpler. However, I did want to let a child theme override some of the ways the theme works, so I included that global variable so they can be modified.

Viewing 15 replies - 136 through 150 (of 215 total)