Forum Replies Created
-
AuthorReplies
-
Bluenotes
ParticipantYou’re using “facebook-square” and it should be “facebook-sign”
HTML:<i class="icon-facebook-sign"></i>
Shortcode:
[vector_icon icon="facebook-sign"]
Bluenotes
Participant@srumery … You’re right. I didn’t catch that style issue. If you add an unique ID to the subgroup_end it does style correctly now for me.
array( 'id' => 'my_group_start', 'type' => 'subgroup_start', 'class' => 'show-hide-toggle' ), ... your array options .... array( 'id' => 'my_group_end', 'type' => 'subgroup_end' )
Bluenotes
Participant@srumery Try adding an ID to the subgroup_start array… I tried this and it worked for me.
array( 'id' => 'my_group_name', 'type' => 'subgroup_start', 'class' => 'show-hide-toggle' ),
Bluenotes
ParticipantThanks Jason, this looks to be working in combination with the above esc_textarea method. Below is how I was doing it.
$custom_options = themeblvd_get_option( 'custom_styles' );
Then just echoing it later on within my style function.
echo $custom_options;
Now using:
function bne_theme_options_esc_textarea( $text ) { $text = str_replace( '>', '>', $text ); $text = str_replace( '&gt;', '>', $text ); $text = str_replace( '<', '<', $text ); $text = str_replace( '&lt;', '<', $text ); return $text; } add_filter( 'esc_textarea', 'bne_theme_options_esc_textarea' );
AND adding the esc to the get option in the style function got it to work.
$custom_options = esc_textarea( themeblvd_get_option( 'custom_styles' ) );
Thanks again!
Bluenotes
Participant@themeblvd
Ok I lied…. It works on the admin side but not the output on the frontend. I just tried it in an arcadian install on my local and it’s doing the same thing even with your above esc_textarea function.Do you happen to have another idea? 🙂
Bluenotes
ParticipantThank you sir. Works great!
Bluenotes
ParticipantHi Jason… Continuing with this convo. I’ve run into it too and did try the above sanitization filter but didn’t work for me. I’m using a textarea as a way for custom css to be added and it’s replacing something such as “>” with it’s html code version.
So for example:
#primary > .menu { color: red }
Becomes
#primary > .menu { color: red }
Any input would be awesome! changing the field to text works but not textarea.
Thanks!
Bluenotes
Participant@timworx, you commented out the menu button to trigger the toggle in theme.js. That is needed to trigger the menu from the button.
$('.btn-navbar').toggleMenu({'viewport':768});
Bluenotes
ParticipantHave you tried using the Menu settings in Appearances > Menu? Create a new menu, set it as the primary navigation then add your pages to the menu and arranging them how you would like.
Bluenotes
ParticipantDawn,
Try
.header_logo {text-align:center;}
Bluenotes
ParticipantI don’t know if this is a optimal fix, but it has worked for me. Remove #!prettyPhoto from the bottom of /framework/frontend/assets/js/prettyphoto.min.js
Find:
indexOf("#!prettyPhoto"))?true:false
and replace it with:
indexOf(""))?true:false
Bluenotes
Participant@Jason, Hope you don’t mind if I chime in. I was in the neighborhood.
Daniel,
I had to do this for a client on his slider. Throw this in your child theme css file.Left Arrow
.flex-direction-nav .flex-prev .icon-circle-arrow-left:before {content:"XXXX";}
Right Arrow
.flex-direction-nav .flex-next .icon-circle-arrow-right:before {content:"XXXX";}
Change XXXX to the proper font icon you want. example:
\f0a0
You can see the codel ist in jumpstart/framework/frontend/assets/plugins/fontawesome/css/font-awesomeness.cssDecember 12, 2012 at 11:18 pm in reply to: Single Post Meta Information & Post List/Grid Pagination #1390Bluenotes
ParticipantGot it! Thanks again for the fix that’s for the fix :-p
December 12, 2012 at 6:32 am in reply to: Single Post Meta Information & Post List/Grid Pagination #1371Bluenotes
ParticipantThanks for the quick fix!
Bluenotes
ParticipantTotally understand Jason. Thanks for the reply and input.
-
AuthorReplies