acub
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] 3.1.4 upgrade, where did full width go?Please provide a link to your website.
Customizr 3.0.15 does not have support for qTranslate. You should update to the latest version (3.1.4).
Forum: Themes and Templates
In reply to: [Customizr] 6 featured pages with images on front pageYour featured pages containers should have the class “row-fluid” instead of “row”.
Because the initial post of this topic was on how to make Customizr compatible with qTranslate, not on how to hook the language chooser. At the point this was written, you couldn’t input qTranlaste shortcodes into button text, description and/or title of slider, or featured pages either. So, even though related, your request needs its own topic.
This topic is obsolete and outdated.
Customizr has integrated support for qTranslate now.
Please describe your problem in a new topic.Forum: Themes and Templates
In reply to: [Customizr] Adding more featured Pages on homepageI wouldn’t try to change the Customizr menu into the Twenty Thirteen one. A better approach is to replace it. Here are the steps:
- Identify the php generating the menu in Twenty Thirteen and copy the code in a function in functions.php of your Customizr child theme.
- Hook the function above to tc_menu_display() (also in functions.php). Alternatively, you may disable the output of tc_menu_display() and hook your Twenty thirteen menu function to some other Customizr hook, depending on where you want the menu to appear.
- Identify and copy all the CSS for the menu from Twenty Thirteen into style.css of your Customizr child theme.
Forum: Themes and Templates
In reply to: [Customizr] link for slider without text and buttonIf one only needs this on a specific slide of the slider and wants to leave the rest untouched, I think it would be better to target the specific sliders. They would have to add all slides that need to be changed to the selectors of the code below. In the example I only applied the changes to slide 2 and 3, leaving the rest unchanged:
.blog .carousel-inner .item:nth-child(2) .carousel-caption, .blog .carousel-inner .item:nth-child(3) .carousel-caption { background: transparent; min-width: 100%; height: 100%; padding: 0; margin: 0; position: absolute; top: 0; bottom: 0; } .blog .item:nth-child(2) .carousel-caption h1, .blog .item:nth-child(2) .carousel-caption .lead, .blog .item:nth-child(3) .carousel-caption h1, .blog .item:nth-child(3) .carousel-caption .lead { display: none; } .blog #customizr-slider .item:nth-child(2) .btn-primary, .blog #customizr-slider .item:nth-child(3) .btn-primary { background: transparent; color: transparent; box-shadow: none; margin: 0; padding: 0; width: 100%; height: 100%; text-shadow: none; }You can add selectors for as many slides you need. Of course, if the slider you want modified is not the one on .home or .blog you need to modify the prefix of the selectors to target your page slider. I hope I’m being clear enough. 🙂
Forum: Themes and Templates
In reply to: [Customizr] link for slider without text and buttonI apologize for not fully testing the code above. Here’s the full snippet, working on a clean Customizr install:
.blog .carousel-inner .carousel-caption { background: transparent; min-width: 100%; height: 100%; padding: 0; margin: 0; position: absolute; top: 0; bottom: 0; } .blog .carousel-caption h1, .blog .carousel-caption .lead { display: none; } .blog #customizr-slider .btn-primary { background: transparent; color: transparent; box-shadow: none; margin: 0; padding: 0; width: 100%; height: 100%; text-shadow: none; }Forum: Themes and Templates
In reply to: [Customizr] link for slider without text and buttonThe solution above has the following purpose: to use the button’s link as a link on all image, while not showing the button or the caption.
Therefore it spans the caption and the button on all image size, so they render as invisible (so the link actually works).
If one wants to apply this behavior on specific slides of specific sliders, he has to use css selectors to narrow it down (you need .carousel-inner .item:nth-child(n) in order to select the n-th slide of a carousel).
Forum: Themes and Templates
In reply to: [Customizr] link for slider without text and buttonI don’t understand the question. You want to keep this code as a general rule and code exceptions for certain slides/sliders?
Forum: Themes and Templates
In reply to: [Customizr] link for slider without text and buttonYes, it does apply to all other sliders. If it’s only needed on homepage, both CSS selectors need to be prefixed with .blog
And you’re right about text-shadow: none;. I tested the code above on a dark image and didn’t notice the shadow.
Forum: Themes and Templates
In reply to: [Customizr] link for slider without text and button.carousel-inner .carousel-caption { background: transparent; min-width: 100%; padding: 0; margin: 0; position: absolute; top: 0; bottom: 0; } #customizr-slider .btn-primary { background: transparent; color: transparent; box-shadow: none; margin: 0; padding: 0; width: 100%; height: 100%; }Forum: Themes and Templates
In reply to: [Customizr] Link Logo to an external pageKenesha, we’re suggesting that you use a child theme because if you modify Customizr (and add custom functions to it) you will change the modifications on update.
I have just looked for an alternative. And… guess what? If you’re not comfy with installing a child theme and editing a functions.php file, how do you feel about using a plugin?
Custom Code Adder.Haven’t tested it, but since over 700 people tried it, I suppose someone would have written something in the support thread (which is now empty) if it wasn’t any good.
add_filter('pre_get_posts', 'limit_homepage_posts'); function limit_homepage_posts($query) { if ( $query->is_home() && $query->is_main_query() ) $query->set( 'cat', 'X,Y' ); }Replace X,Y with category ids. Or, if you want to use slugs, use
$query->set( 'category_name', 'slug1,slug2' );This function (and the preceding filter) should go in functions.php of your child theme.