ThemeSumo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Admin menu changedAre you certain you are logged in as an administrator as it sounds like you don’t have the necessary permissions to access these admin pages.
You can also deactivate all plugins via an FTP client by renaming the plugins folder to plugins-old, does this allow you access to the plugins page?
Hope this helps.
Forum: Fixing WordPress
In reply to: Change homepage product image sizeThe quick way would be to simply add this to your custom CSS area:
ul.products li.product a img { max-width: 250px; }
THe image size will still be 300px but will be displayed at no larger than 250px.
If you wish to change the actual image size then you will have to override the function that defines the images sizes of the theme using your Child Theme functions.php file.
Hope this helps.
Forum: Plugins
In reply to: [WooCommerce] change Woo message line coloursThanks.
You can add this to your custom CSS area:
.woocommerce-message, .woocommerce-info { border-top-color: #CC0001; }
Let me know if there any other border colors you wish to change, you can just keep adding classes to the above code to implement the same color throughout.
Hope this helps.
Forum: Fixing WordPress
In reply to: Moving tags from top of post to bottom of postYou can make a copy of the post-content.php file from the Enigma theme, into your Cista child theme folder.
Open the new file and locate this code (line 34):
<div class="col-md-6 col-sm-3"> <?php if(get_the_tag_list() != '') { ?> <p class="enigma_tags"><?php the_tags( __('Tags : ','enigma'), '', '<br />'); ?></p> <?php } ?> </div>
This is what is displaying your tag links, as you can see it is above the_content, you can relocate the above code so it is positioned below the_content, directly after this line should be okay
wp_link_pages( $defaults ); ?>
.We can also expand both of the columns containing the tag links and category links so they span the full-width of the content area, right now they’re only at 50% width.
Change
col-md-6
tocol-md-12
for both your category link and tag link div containers.Hope this helps.
- This reply was modified 8 years, 3 months ago by ThemeSumo.
Forum: Themes and Templates
In reply to: [shopkeeper] edited column width not responsiveWe’re not supplied commercial products so would be unable to offer assistance, as per the Forum Welcome.
If you’re defining a fixed width like 620px then it won’t be responsive at any width, you could try 100% and then defining a max-width of 620px perhaps?
For assistance with this theme you would need to speak to the theme authors, who may or may not provide you with customizations for free.
Forum: Plugins
In reply to: [Custom CSS classes for images] does this still workYes you still need to add your custom CSS code otherwise the plugin won’t know what blacklayer is supposed to be styled like.
So you can add blacklayer in the featured image field, and then use that classname in your custom CSS within the Customizer, like so:
.blacklayer { /* styles here */ }
The class blacklayer will be applied to your Featured Images.
Hope this helps.
Forum: Plugins
In reply to: [WooCommerce] change Woo message line coloursCan you provide a link to your site please and I’ll provide you with some custom CSS code?
Thanks.
Forum: Themes and Templates
In reply to: (Twenty Fourteen) Content Spacing and Margin WidthYou will lose all custom code if you modify the theme files directly and update the theme in the future.
Add your custom CSS either through the theme Customizer, a Child Theme style.css file, or via a Custom CSS plugin.
Using either of the above methods, to correctly remove the max-width, you would need to set it to none, like so:
.site { max-width: none; }
Hope this helps.
Forum: Fixing WordPress
In reply to: wp_Query date formatMaybe something like this?
$rel = get_post_meta( get_the_ID(), "released", true ); $date = new DateTime($rel); echo $date->format('d-m-Y');
I’m not sure how you could query just the year from this though, if the year was kept in a separate meta box then this would be possible using WP_Meta_Query.
Hope this helps.
Forum: Themes and Templates
In reply to: [Ribosome] How to Remove Primary Menu from Single Pagesite-navigation is an ID, not a class, so the code should be:
.page-id-9612 #site-navigation { display: none; }
Hope this helps.
Forum: Themes and Templates
In reply to: [Make] navbar menuYou can use your browsers Inspect Element feature, or a tool like Firebug, to inspect the code structure of your site and locate the classname of any of your elements.
You can add this to your Custom CSS section within the Customizer.
.menu-toggle { background: #f00; }
Adjust the
#f00
color code to suit your needs.Hope this helps.
Forum: Themes and Templates
In reply to: [Customizr] Pics doesn’t appear anymoreI can still see your images on all pages I’ve checked. Are the images still appearing within your media library?
Forum: Themes and Templates
In reply to: Exclude Text from Home Page ExcerptHow are you hooking your disclosure into the theme?
You could wrap it, or the above custom field code, within a is_archive conditional to remove it from archives, like so:
if (!is_archive()) { // stuff }
Forum: Fixing WordPress
In reply to: Changing Added Content on PageYou’re using RevSlider to create these slides, open up the slider you have created and edit the relevant slider to change the date.
As it’s a commercial product, I’m unable to help further as we’re not supplied commercial products to offer assistance with.
Hope this helps.
Forum: Themes and Templates
In reply to: [Athena] Remove side Bar from specific pagesYou can create a Page Template for this purpose, create a new file called template-full.php and place it within your Child Theme folder.
Add this to the template-full.php file:
<?php /* Template Name: Full Width */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main athena-page" role="main"><?php while (have_posts()) : the_post(); get_template_part('template-parts/content', 'page-full'); if (comments_open() || get_comments_number()) : comments_template(); endif; endwhile; ?> </main> </div><?php get_footer(); ?>
Create a sub-folder within your child theme folder called template-parts, and create a new file inside it called content-page-full.php.
Add this to the content-page-full.php file:
<?php if (get_post_thumbnail_id($post->ID)) : ?> <div id="athena-page-jumbotron" class="parallax-window" data-parallax="scroll" data-image-src="<?php echo wp_get_attachment_url(get_post_thumbnail_id($post->ID)) ?>"> <header class="entry-header"><?php the_title('<h1 class="entry-title">', '</h1>'); ?> </header> </div><?php endif; ?> <div class="row"> <div class="col-sm-12"> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-content"><?php if (!get_post_thumbnail_id($post->ID)) : ?> <header class="entry-header"><?php the_title('<h1 class="entry-title">', '</h1>'); ?> </header><?php endif; the_content(); wp_link_pages(array('before' => '<div class="page-links">' . esc_html__('Pages:', 'athena'),'after' => '</div>',)); ?> </div> <footer class="entry-footer"><?php edit_post_link(sprintf(esc_html__('Edit %s', 'athena'), the_title('<span class="screen-reader-text">"', '"</span>', false)), '<span class="edit-link">', '</span>'); ?> </footer> </article> </div> </div>
You can now edit a page and assign the new page template you’ve just created to it, it should display full-width with no sidebars.
All of the above code has been taken from the existing theme files with very minor modifications to load a different content file and to remove the sidebars.
Hope this helps.