acub
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] CSS isn't working.April, just as I pointed out here, your CSS is not working because your .carousel-inner > .active.left is not closed (after left:0).
You need to insert:
; }between left: 0 and /* Remove icon */, on line 54 of that code.
And please put your code in code window, by adding above and below the code a line with a single backtick in it.Forum: Themes and Templates
In reply to: [Customizr] Frony Page Slider arrows don't workNo idea why, but the minified boostrap library is missing or corrupted in your instalation, therefore it never loads (from /wp-content/themes/customizr//inc/js/bootstrap.min.js).
You need to reinstall Customizr clean. As in: switch to another theme, delete Customizr folder, download and install Customizr from WP-repository, either by manual download or from themes install page.Forum: Themes and Templates
In reply to: [Customizr] Change Button ColorsFirst, remove all code related to buttons from your custom CSS. Than, add this to it:
.btn.btn-primary.fp-button { color: white; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); background-color: #ee7c2a; background-image: -moz-linear-gradient(top, #f78c40, #e16309); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f78c40), to(#e16309)); background-image: -webkit-linear-gradient(top, #f78c40, #e16309); background-image: -o-linear-gradient(top, #f78c40, #e16309); background-image: linear-gradient(to bottom, #f78c40, #e16309); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff78c40' , endColorstr='#ffe16309' , GradientType=0); border-color: #e16309 #e16309 #984306; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); *background-color: #e16309; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); } .btn.btn-primary.fp-button:hover, .btn.btn-primary.fp-button:focus, .btn.btn-primary.fp-button:active, .btn.btn-primary.fp-button.active, .btn.btn-primary.fp-button.disabled, .btn.btn-primary.fp-button[disabled] { color: white; background-color: #e16309; *background-color: #c95808; } .btn.btn-primary.fp-button:active, .btn.btn-primary.fp-button.active { background-color: #b04d07 \9; } .btn.btn-primary.fp-button:hover, .btn.btn-primary.fp-button:focus, .btn.btn-primary.fp-button:active, .btn.btn-primary.fp-button.active, .btn.btn-primary.fp-button.disabled, .btn.btn-primary.fp-button[disabled] { color: white; background-color: #e16309; *background-color: #c95808; } .btn.btn-primary.fp-button:active, .btn.btn-primary.fp-button.active { background-color: #b04d07 \9; }Should do the trick.
Note: this only changes the buttons under featured pages on first page, not any other buttons throughout the website. (At least that’s what I understood you want.)
Forum: Themes and Templates
In reply to: [Customizr] Help fancybox doesent work -.-Your main page throws this js error:
Uncaught TypeError: Object [object Object] has no method ‘validate’
related to the jQuery(“#ResponsiveContactForm”).validate() function.
This error causes all other jQuery dependant scripts in your page to stop working.
Try disabling that plugin and see if it fixes your problem. If it does, please refer this issue to the plugin developer. If not, get back here and we’ll dig some more in the problem.Namely, the problem is that Responsive Contact Form plugin author chose not to limit enqueuing the contact form scripts to the contact page only, nor does he verify if any contact form is present in the page. The error is thrown because the validation function doesn’t find any contact form in the page.
Forum: Themes and Templates
In reply to: [Customizr] How to center a Page Title?@april475: hint: for code to be displayed properly, both containing backticks (start and end) need to be on their own lines, alone.
The
#main-wrapper .format-icon:before { content: none; }doesn’t work because it’s not properly read. The previous declaration is not closed and no browser is smart enough to close it for you, to understand #main-wrapper .format-icon:before for what it is: a CSS selector. Instead, they try their best to read it as an attribute declaration which results in an error.
Just type; }between left: 0 and /* Remove icons */ and you’re good to go.
Forum: Themes and Templates
In reply to: [Customizr] Tagline Mobile RemovalYou meant
@media (max-width: 978px) { h2.site-description { display:none; } }, right?
Forum: Plugins
In reply to: [Real-Time Find and Replace] Issue with html charsExcellent. Thank you.
Forum: Themes and Templates
In reply to: [Customizr] Second Menu?Thank you, WPyogi. Really didn’t want to write it again. Is there a way I could avoid this happening again?
Forum: Themes and Templates
In reply to: [Customizr] Second Menu?To whoever moderated this topic:
I have posted a thorough answer to this question some 10-12 hours ago. Took me almost half an hour to document and test (I usually don’t spend more than 10 minutes on a support answer). Was it deleted? If yes, I’d like to know why.
Thank you.
Forum: Themes and Templates
In reply to: [Customizr] How to add more Feature contents to Home page?My solution allows you to input custom HTML before the featured pages block. In that example, the HTML we input before the fpb is actually the output of fpb, captured earlier on.
No one stops you from changing that HTML, assigning extra classes to it and styling it away.
Forum: Themes and Templates
In reply to: [Customizr] How to add more Feature contents to Home page?I’m not sure I understand what you mean by “Featured contents”. In case you want to add extra featured pages after the existing ones, I did help someone else achieve this a few days ago, but the thread is a bit lengthy and might be hard to follow. I’ll write a snippet based on it and post it on theme’s website in a day or two.
As for “shortcodes”, keep an eye out on the Code Snippets section we recently started on the theme’s website. We’re adding new mods regularly and it’s growing fast (every time we answer question here, if we think it might be useful to others we add it there), for easier finding.
Forum: Themes and Templates
In reply to: [Customizr] Second Menu?You need to register it with register_nav_menu:
add_action( 'init', 'register_matts_menu' ); function register_matts_menu() { if ( function_exists( 'register_nav_menu' ) ) { register_nav_menu( 'matts-top-menu', 'Top Menu' ); } }If you want to register more than one, change register_nav_menus above to array:
register_nav_menus(array( 'matts-top-menu' => 'Top Menu', 'matts-footer-menu' => 'Footer Menu' ) );Than hook wp_nav_menu to where you want it displayed. I hooked this one above the logo/title display:
add_filter('tc_logo_title_display', 'display_matts_top_menu'); function display_matts_top_menu($output) { return ( has_nav_menu( 'matts-top-menu' ) ? wp_nav_menu ( array ( 'theme_location' => 'matts-top-menu', 'container_id' => 'top-menu', 'container_class' => 'menu pull-right' ) ).'<div class="clearall"></div>' : '' ).$output; }And, of course, you need to style it a bit. As a basic example, I floated this one right, added some |’s between the items and small-ed the font-size.
#top-menu ul li { display: inline-block; float: left; list-style-type: none; font-size: small; } #top-menu ul li:before { content: " | "; } #top-menu ul > li:first-child:before { content: none; }If you’re using multiple levels you’ll need to style it some more, maybe add some carets and use the walker class to apply TBs classes to it, since they’re already embedded in the theme.
That’s about it.
Forum: Themes and Templates
In reply to: [Customizr] Spreading out the social icons in the footerYou need to delete line 129 from your child theme’s style.css.
Just in case you use an editor without line numbers I marked it in the code below:footer#footer p, footer#footer a { padding: 0px ; /* Delete me! */ font-size: 1em ; text-align: none; line-height: 1.2em ; }Not a big issue, but I thought I’d mention since I saw it. There’s no such thing as text-align: none. You might want to change it to left, right, center, justify or inherit.
Forum: Themes and Templates
In reply to: [Customizr] How to change social media iconsa.icon-facebook:before { background-color: #3b5998; border-radius: 2px; color: white; padding: 4px 0 0 2px; position: relative; text-shadow: none; top: 4px; } a.icon-facebook { position:relative; top: -4px; }Forum: Themes and Templates
In reply to: [Customizr] Post Images on home page aren't uniformIf your posts have a featured image, that image is displayed in the posts list with the circle hover effect on. If it doesn’t a featured image, the first image from the post is displayed, without the effect.
So just go in each post’s edit screen and set the image from the post as featured image and it will show up in lists with the hover effect. The featured image box is displayed at the bottom of the right sidebar by default.
Don’t forget to save the post after you set the featured image.