By Andrew Mackinnon
This WordPress website uses the Twenty Eleven theme with a modified style sheet (style.css), which is available in its entirety for download in Microsoft Word 2002 format from the following web page:
If you want your WordPress website to have the same appearance, format and layout as this website white-alliance.info, then do the following:
> Copy and back up the full text of your existing style sheet (style.css) if you need to keep a record of it as a contingency, in case you need to use it in the future.
> Install the Twenty Eleven theme on your WordPress website.
> Go to Dashboard, Appearance, Theme file editor.
Overwrite the existing style sheet for your WordPress website with the full text contained in the modified style sheet (style.css) available for download from the link above, from /* at the top of this full text to the end of this full text inclusive. (You can use Ctrl + Shift + End to select all of this full text from /* at the top of this full text.)
Scroll down to the bottom of the “Edit Themes” page and click on “Update File”.
Notes:
> This WordPress website uses the colours black (i.e. colour code #1a1a1a) for the “Header Text Colour”, white (i.e. colour code #ffffff) for the “Background Colour” and sky blue (i.e. colour code #0482d6) for the “Link Colour”, which have been set under “Dashboard”, “Appearance”, “Customise”, “Colours”.
This sky blue colour (i.e. colour code #0482d6) for the “Link Colour” has also been hard-coded into the modified stylesheet (style.css) above. Therefore, if you want to select a different colour for the “Link Colour”, under “Dashboard”, “Appearance”, “Customise”, “Colours”, then you will need to also find all occurrences of the colour code of this sky blue colour (i.e. colour code #0482d6) in the modified stylesheet (style.css) above, by searching for “#0482d6”, and replace all of them with the colour code of the different colour for the “Link Colour” that you have selected.
> The search form that appears near the top-right hand corner of every web page on any WordPress website that uses this Twenty Eleven theme with this modified stylesheet (style.css) can be removed by deleting the following code in the “Search Form” (searchform.php) in the “Theme Files” on the right-hand side of the “Theme Editor” under “Appearance” in WordPress:
<form method=”get” id=”searchform” action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”>
<label for=”s” class=”assistive-text”><?php _e( ‘Search’, ‘twentyeleven’ ); ?></label>
<input type=”text” class=”field” name=”s” id=”s” placeholder=”<?php esc_attr_e( ‘Search’, ‘twentyeleven’ ); ?>” />
<input type=”submit” class=”submit” name=”submit” id=”searchsubmit” value=”<?php esc_attr_e( ‘Search’, ‘twentyeleven’ ); ?>” />
</form>
A search form can then be added as a widget to the more visually appealing location of the top of the widgets on the right-hand side of the home page of any WordPress website that uses this Twenty Eleven theme with this modified stylesheet (style.css), by going to “Widgets” under “Appearance” in WordPress, clicking on the button with a “plus sign” on it at the top of the web page in order to add a block to the widgets and scrolling down to select “Search” under the “WIDGETS” category.
> The “Proudly powered by WordPress” footer can be removed from all web pages on any WordPress website that uses this Twenty Eleven theme with this modified stylesheet (style.css) by deleting the following code in the “Theme Footer” (footer.php) in the “Theme Files” on the right-hand side of the “Theme Editor” under “Appearance” in WordPress:
<div id=”site-generator”>
<?php do_action( ‘twentyeleven_credits’ ); ?>
<?php
if ( function_exists( ‘the_privacy_policy_link’ ) ) {
the_privacy_policy_link( ”, ‘<span role=”separator” aria-hidden=”true”></span>’ );
}
?>
<a href=”<?php echo esc_url( __( ‘https://wordpress.org/’, ‘twentyeleven’ ) ); ?>” class=”imprint” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentyeleven’ ); ?>”>
<?php
/* translators: %s: WordPress */
printf( __( ‘Proudly powered by %s’, ‘twentyeleven’ ), ‘WordPress’ );
?>
</a>
</div>
For more information about the WordPress installation on this WordPress website, please see…
white-alliance.blog/category/wordpress/