1060 comments found.
hi there,
you guys have done a great job with Cork, i just love it.
i was just wondering, is there a possibility to switch from LTR to RTL with single SCSS code base?
let me explain my self, is there some way i could do this in my pages:
in case of LTR page:
<link rel=”stylesheet” href=”path/to/my/authentication/form-1.css”>
in case of RTL page:
<link rel=”stylesheet” href=”path/to/my/authentication/form-1.css”>
<link rel=”stylesheet” href=”path/to/my/authentication/form-1.overrides.css”>
where form-1.overrides.css contains, only, overrided css properties to switch to RTL mode.
thanks.
Dear chebaby,
Thank you for contacting Design Reset.
Separate all the LTR and RTL CSS and JS files.
For example :
Let’s suppose
You are using demo 3
So the path of demo 3 will be cork/HTML/demo3/assets/css/[ ADD LTR and RTL ]/All LTR and RTL CSS in there respected folder and same with JS and Plugins folder
Below is the full URL;
LTR
- cork/HTML/demo3/assets/css/ltr/All ltr CSS
- cork/HTML/demo3/assets/js/ltr/All ltr CSS
- cork/HTML/demo3/plugins/ltr/All ltr CSS
RTL
- cork/HTML/demo3/assets/css/rtl/All rtl CSS
- cork/HTML/demo3/assets/js/rtl/All rtl CSS
- cork/HTML/demo3/plugins/rtl/All rtl CSS
Kindest Regards,
Design Reset Team
thank you for responding,
so i guess what i asked for can’t be done. RTL and LTR styles are completely separated from each other, meaning that when i want to modify an element color for instance, i would have to do the modification in two files, one in RTL and the other in RTL!!
by the way i’m using demo4.
Thank you guys. keep the good work.
You are most Welcome 
how to get current user id after entering message in chat page. under this function $(’.mail-write-box’).on(‘keydown’, function(event) { how to get .attr(‘data-name’)
also can we add sound after entering text in message box
Dear mahendramore,
Thank you for contacting Design Reset.
Try the code mentioned below to get the data-name attribute.
$('.person.active .user-name').attr('data-name')
And
To add the sound. Check the link mentioned below
- https://stackoverflow.com/a/15498712/5516725
- https://stackoverflow.com/questions/450033/playing-sound-notifications-using-javascript
- https://stackoverflow.com/questions/879152/how-do-i-make-javascript-beep
Kindest Regards,
Design Reset Team
good morning, i have a problem with the laravel route, how do i use the controller to process the data and return the display? When I try to put the controller on the route, I can’t render the display, it always returns an error in the $ page_name variable, to pass the controller on the route how do I do it?
Dear axxlfsa,
Thank you for contacting Design Reset.
Pass a $page_name variable with or without any value to prevent the error.
Kindest Regards,
Design Reset Team
Oops I tried to get through anyway I couldn’t follows the code part
Route::get('dashboard/pais','Dashboard\PaisController@index', function() {
// $category_name = '';
$data = [
'category_name' => 'pais',
'page_name' => 'pais',
'has_scrollspy' => 0,
'scrollspy_offset' => '',
'alt_menu' => 0,
});
];
// $pageName = 'widgets';
return view('dashboard.pais')->with($data);
Dear axxlfsa,
Thank you for contacting Design Reset.
Set all the variables inside your controller and then try again.
If the issue is the same kindly share the controller.
Kindest Regards,
Design Reset Team
Good morning, I did it the way you asked me, and in fact it works but the view is without a page name and also does not take the category so that the styling and JS of the page is not applied
public function index() { $records = Pais::all(); $data = [ ‘category_name’ => ‘pais’, ‘page_name’ => ‘pais’, ‘has_scrollspy’ => 0, ‘scrollspy_offset’ => ’’, ‘alt_menu’ => 0,
];
}
return view('dashboard.pais', compact('records'))->with($data);
Dear axxlfsa,
1. Have you defined page name in route?
2. There is no need to define compact(‘records’) if you have already defined ->with($data).
To Apply the css and js. Navigate to resources\views\inc\ scripts.blade.php and styles.blade.php
After, Opening the file
You have to defined the condition by using $page_name variable.
Kindest Regards,
Design Reset Team
More in the case how can I send information from my controller to the view if you don’t pass compact ()? to access the variable via @foreach ($ records as $ record) when I just pass with
from what I realized at CORK he uses ‘category_name’ => ‘widgets’, to apply CSS and JS My route looked like this: Route :: resource (‘pais’, ‘Dashboard \ PaisController’); and in the controller I define $ records = Pais :: all (); // to get information from the database $ data [‘category_name’ => ‘parents’, ‘page_name’ => ‘parents’, ‘has_scrollspy’ => 0, ‘scrollspy_offset’ => ’’, ‘alt_menu’ => 0, ]; // to pass the variable names so I passed the return return view (‘dashboard.pais’, compact (‘records’)) -> with ($ data);
Dear axxlfsa,
To understand compact kindly refer to the following link
- https://stackoverflow.com/a/44963963/5516725
Yes,
You understand it right.
And also, if records are a variable add that records inside the $data array.
Don’t hesitate to add your variables inside the $data, but remember do not remove any existing value inside $data array.
Kindest Regards,
Design Reset Team
Thank you, I realized that it was an error when passing the page name in the function, I have a problem that I already did everything and I couldn’t solve, how can I apply an existing JS to a page? I want to use the JS of the page table_dt_alternative_pagination.blade, however the page does not start I am like all the data on a single page
Dear axxlfsa,
To create a new page follow the steps mentioned below.
1. Create Blade file ( ex: demo.blade.php )
2. Make route web.php
Route::get('/demo', function() {
// $category_name = '';
$data = [
'category_name' => 'you_sidebar_link',
'page_name' => 'demo_page', -----------> Page name should be defined. !Important for js and css addition
'has_scrollspy' => 0,
'scrollspy_offset' => '',
];
// $pageName = 'analytics';
return view('demo')->with($data);
});
3. Navigate to resources\views\inc
a) scripts.blade.php - Create a new switch loop case
b) styles.blade.php - Create a new switch loop case
Inside style.blade.php
----------------------
@case('demo_page')
<link href="{{asset('Your CSS File PATH')}}" rel="stylesheet" type="text/css" />
@break
Inside script.blade.php
----------------------
@case('demo_page')
<script src="{{asset('Your JS File PATH')}}"></script>
@break
Hope this helps 
Kindest Regards,
Design Reset Team
please I want to know if there is a function which allows us to reinitialize the wizard
Dear geekygeek16,
Thank you for contacting Design Reset.
If you have deleted the wizard. You can copy the wizard file from another demoX > Plugins > jQuery Steps
Kindest Regards,
Design Reset Team
No it’s not about deleting it. I used wizard on a modal, and I want to go back to first step “of wizard” every time I reopen my modal thanks for answering me!
Dear geekygeek16,
Can you share the code as well as the screenshot?
Kindest Regards,
Design Reset Team
I can’t share images on comment section, could you please give me your email
HI i want to user chat page but not able to get message box value on another page. i am using ajax php
Dear mahendramore,
Kindly share the screenshot and your code.
Kindest Regards,
Design Reset Team
Hello there, i need help. I want to change datatables style (border, hover, font, padding, etc) like this table: https://prnt.sc/teyiqv
Is it possible? How to?
Dear aldoputama,
You have to manually apply the style from that table.
Kindest Regards,
Design Reset Team
Okay, where is the style of that table? so i can copy that table style. And where should I paste the style so that datatables style can changes?
Dear aldoputama,
The table CSS is located inside the main.css. The best way to style your table is through browser inspect element.
You have to create a new CSS file for that datatables.
Kindest Regards,
Design Reset Team
Greetings, I’m trying to use a select, “Nested” in a modal but it’s losing the style. I already copied the top and bottom links and scripts, but is not working as it did on the original page (form_select.html).
Dear aguiry,
Try the steps:
1. Check for the triggering js.
2. Check the console for errors.
Kindest Regards,
Design Reset Team
Hi There.
I am ussing the demo8 template. I am having an issue with the scss gulp tasks you have provided. If I clean out the ’\assets\css’ folder and then run ‘gulp demo8:sass:assets’ the css that is generated if all kinds of broken.
Could you tell me how you are building your scss from a clean state?
Regards Ryan
Dear ryanalbrecht,
We have checked it on our side it works fine.
Although, you do not need to remove all the assets/CSS.
Kindest Regards,
Design Reset Team
Hello guys, I have a question regarding licensing. I already asked the official support team (themeforest), but their answers are not useful (seems they don’t read the question)
So, we bought the Regular license and planning to use some components of your template in embedded device. It means – template will be integrated into some box and will be a part of it’s web-interface. (Similar example – home WiFi router. It also has embedded web-server)
Our project has 2 obvious phases: (1) create prototype and show to the customer (it’s our current phase) (2) produce many devices and sell them to customer
Questions 1) Which types of license we need for both phases ? 2) Can we store some parts of your template in our internal git-server ?
Thank you/
Hello alexey113B,
Thank you for Design Reset.
All queries regarding your development and phases are mentioned below;
Phase 1) If you are showing prototype to a customer as initial phase or a concept, you can go ahead with regular license as long as it is not on sale in any form.
Phase 2) If your are producing devices and selling to the customer, then you have to purchase extended/commercial license before it is sold.
Note; Let us assume that you are currently developing a prototype and testing things on your side. Right now you can go with regular license. One everything including testing and final design of software/firmware is done, then you have to purchase the commercial license.
Also, you have to purchase only one commercial license for one particular device, no matter how many units you sell.
Answer 2) Yes, you can store parts of our template in your internal git-server as far as it is used by your company on the specific product you mentioned.
Hope your all queries are mentioned. If there is anything else, please feel free to ask again.
Kindest Regards,
Design Reset Team
Hi, i’m using a dark theme. If users log in using google chrome and choose to save their login details for the form, on the next visit the username and password fields appear with other stylesheet; There is any way to preventing google chrome from changing the stylesheet of the saved username and password fields.
Best Regards, Mauricio
Dear mauriciopedro,
Thank you for contacting the Design Reset.
Try the js mentioned below
if (navigator.userAgent.toLowerCase().indexOf("chrome") >= 0) {
$(window).load(function(){
$('input:-webkit-autofill').each(function(){
var text = $(this).val();
var name = $(this).attr('name');
$(this).after(this.outerHTML).remove();
$('input[name=' + name + ']').val(text);
});
});}
For more information kindly refer the link mentioned below.
- https://stackoverflow.com/a/6285238/5516725
Hope this helps 
Kindest Regards,
Design Reset Team
I m from India and I want to purchase the CORK theme but my payment, again and again, failed due to bank problems.
I already tried to pay Paypal plus debit card. there is some with Themeforest.
I try using debit card and I and none of my friends or family have a credit card.
Please provide template over email or different platform I will pay you via Paypal using that card.
Hello akashsguptag,
Thank you for contacting Design Reset.
Please check whether your debit card is valid for International transactions. We sell exclusively through envato.
If your debit card is eligible for international transactions, try once again tomorrow or contact your bank.
You can also contact envato in case above mentioned issues are sorted from you side. Link is mentioned below;
- https://help.market.envato.com/hc/en-us
Kindest Regards,
Design Reset Team
Good morning, I would like to ask if your topic is allowed to compile all the css, js since your version of laravel these files are in the public folder and I would like to have my site more protected and organized all these files in the resources folder.
Dear Fibrasynormas,
Thank you for contacting the Design Reset.
Cork Admin can compile all the SASS but the JS files are not available for compilation as JS plugins and other JS applications are not made using npm.
Kindest Regards,
Design Reset Team
input groups and inputs are so big for me. I tried to change the sizes but I am not winning that. is there any easy way to make input sizes more smaller.
Dear alkan2147,
Thank you for contacting Design Reset.
1. The input group width depend on the grid system. So if you want to manage the width you have to keep the input group inside the a div with grid class or you can define your own width of the div.
2. You can only manage the height as well as padding of the input group and for that you have customize inside main.css
.form-control {
...........................
Other CSS
.....................
height: calc(1.4em + 1.4rem + 2px);
padding: .75rem 1.25rem;
}
Kindest Regards,
Design Reset Team
Thanks for the best admin template out there and with support of Laravel, no need to look for other option now.
Please come with one layout where menu should be stick to topbar (not under menu – but beside logo and user dropdown menu) like this screenshot of demo7 after few adjustment. https://pasteboard.co/Jg7YLvL.jpg
I have few questions which i hope you answer to help me out to achieve what i am looking for using demo7 (almost look like above screenshot)
1. I want menu moved beside logo which i did and it’s showing there but problem is in mobile version, this menu is not showing because you target main-container to show hide menu. so anyway to make it like this and keep mobile version working also.
2. How to make it full width (100%)?
3. How to make top menu sticky?
Dear bazish,
Thanks for the layout suggestion we will discuss with our team.
1. Can you share the screenshot of the mobile version so we can understand properly
2. Remove max-width from the body tag.
3. Add position fixed in .topbar-nav.header inside media query 992px min-width
@media (min-width: 992px)
.topbar-nav.header {
position: fixed;
top: 0;
}
Kindest Regards,
Design Reset Team
Hello there, i want to reduce this header height: https://prnt.sc/tbrlsv How to?
Dear aldoputama,
To reduce the height of the header element. Open structure.css file
.navbar {
min-height: 80px; ---------------------> reduce min-height
}
.header-container .navbar-nav.theme-brand {
height: 80px; ---------------------> reduce height
}
Note: You need to reduce both the height and min-height to see the changes.
Kindest Regards,
Design Reset Team
Hi, your template seems very interesting to me. Currently my Wordpress site (toscanatoday.it) has its own theme that I don’t want to change. Can I install your corck admin-dashboard-template without changing my theme? Thank you, Aldo Belli (editor Toscana Today) direttoretoscanatoday@gmail.com
Hello aldobellisoledad,
Thank you for contacting Design Reset.
Cork Admin Template is not a WordPress theme. It is an HTML and Laravel dashboard template.
Kindest Regards,
Design Reset Team
Hello there, i want to change datatables position like this: https://prnt.sc/tav02u how to?
Dear aldoputama
Try the DOM code mentioned below.
"dom": "<'row'<'col-sm-12 col-md-6'><'col-sm-12 col-md-6'f>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-12 col-md-4'l><'col-sm-12 col-md-4'p><'col-sm-12 col-md-4'i>>",
Kindest Regards,
Design Reset Team
It works! just one more thing, how to add text on top left?
Dear aldoputama,
Update DOM and add a toolbar
"dom": "<'row'<'col-sm-12 col-md-6' <'toolbar'>><'col-sm-12 col-md-6'f>>" +
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-12 col-md-4'l><'col-sm-12 col-md-4'p><'col-sm-12 col-md-4'i>>",
$("div.toolbar").html('<h4>Custom Text</h4>');
Kindest Regards,
Design Reset Team
Thank you very much sir!
You are most Welcome 
Hello How are you? Excuse me Is there an email template include in cork template Thank you and hope you good and healthy all time
and another one Is there a community pages in ?
Hello aboosamah94,
Thank you for contacting Design Reset. We are well and hope the same for you and your loved ones.
Email template link;
- https://designreset.com/cork/ltr/demo4/apps_mailbox.html
Please check all types of under Pages section/category;
- https://designreset.com/cork/ltr/demo4/pages_faq2.html
Hope this Helps 
Kindest Regards,
Design Reset Team
thank you for your reply; I mean email template that show when send to user;
Ohh… We are sorry, we don’t have that template yet.
Kindest Regards,
Design Reset Team
Dear Support,
I can’t get the multiple tables in different block with good styling. By every second table you get a white space:
https://gyazo.com/951f24c643819a02f43139cac8179481First Table https://gyazo.com/876a83a245dc79501ea8c9cc3d3357fc
Second Table https://gyazo.com/c8b597d9ce466a852f2635ceebba09ad
Tank you for helping
Dear patrick-pvk,
Thank you for contacting Design Reset.
Just remove the layout-spacing class from HTML.
Kindest Regards,
Design Reset Team
Hi Support,
I tested your solution but it doesn’t work.. When i inspect the element and remove the id ‘DataTables_Table_1_wrapper’ the spacing is gone.
https://gyazo.com/6f52a190dbc98f22fa20ab1a2fe0bd2aIf i remove the multi-table class from the table, the spacing is also gone but then i have not my table layout.
Dear patrick-pvk,
Kindly share the HTML, JS code of the table. So that we can fix that at once.
Kindest Regards,
Design Reset Team
CODE PART 1: https://gyazo.com/a9762231af2c041f932a225c4912f4b6 CODE PART 2: https://gyazo.com/cb0f595a771d3a4aef7e756a9af98395 JS CODE: https://gyazo.com/0c854de7a29ed5dd6d7847f487ca4082 For the rest all the required JS and style files inserted: datatables.js datatables.css custom_dt_multiple_tables.css
Dear patrick-pvk,
Try the following steps
1. Remove .mt-4 from .table-responsive div
- https://gyazo.com/cb0f595a771d3a4aef7e756a9af98395
If point 1 didn’t work then
2. Try to remove .layout-top-spacing.
- https://gyazo.com/a9762231af2c041f932a225c4912f4b6
Kindest Regards,
Design Reset Team
Hi Support,
The .mt-4 helps a little bit but there is still a lot of spacing. Second option didn’t work. Only if i remove the multi-table class the spacing is correct, but then i don’t have the table…
Dear patrick-pvk,
Try to remove margin-bottom: 50px!important; from table.dataTable inside dt-global_style.css
If that solution dosnt work kinldy provide code ( HTML, CSS, JS ) via pastebin ( https://pastebin.com/ ).
and also provide us full screenshot of table that could tell us how actually both the datatables look like.
You can get the full screenshot by using the chrome extensions mentioned below
Kindest Regards,
Design Reset Team
I found the problem but still not the solution… In the static/basic/plugins/table/datatable/custom_dt_multiple_tables.css there is the following code: #DataTables_Table_1_wrapper { margin-top: 70px; } in the element inspector from chrome if i change this to 0 it’s gone but when i change this in the code with a !important notting happens.
Dear patrick-pvk,
You don’t need to apply important instead just change the value to 0 in the file itself.
Kindest Regards,
Design Reset Team
yes i know but this is not working..
Hello patrick-pvk,
Please share you code via https://pastebin.com and full page screenshot to further help you with this issue.
Kindest Regards,
Design Reset Team
Hi, I am using DataTables with treeview. Inside on of the row, I have placed treeview. When I click on treeview , The treeview does not expand. Do you know why this is happening?
Dear yogeshojha11,
Thank you for contacting the Design Reset.
We suggest you kindly use the datatables mentioned in the below link instead of implementing treeview into datatables.
- https://datatables.net/examples/server_side/row_details.html
Hope this helps 
Kindest Regards,
Design Reset Team
Hi team, I have a specific requirement of implementing treeview inside data tables. I am able to do server side and even display the tree view. But it does not perform anything on click action. I mean the folders do not expand on click
Dear yogeshojha11,
Check for the console whether the click function triggers any error.
If the issue still the same. Kindly share the following things.
1. A screenshot with console error.
2. Your code that replicates issue.
Kindest Regards,
Design Reset Team