Microstrip Patch Antenna Design
You may tune certain parameters of the design using the 'parametric sweep' in CST MWS. Some of the tunable parameters might include slot dimensions, gap associated with the feed ( such as inset feed, for example), dimensions of the radiating patch, and dimensions of the ground plane.

but have no resonation at 2.45 GHz

Are you using a standard square copper or a defective ground structure? If your antenna has no resonance at 2.45 GHz, this means that the designed ground plane (preferably the defective ground plane) might have provided almost zero transmission at that frequency. You may check the S-parameter plot and check the plots of S11 (reflection coefficient) and S21 (transmission). If you are using a Floquet port model, you can check 'SZmax(1),Zmax(1) for reflection characteristics and 'SZmin(1),Zmax(1) for transmission characteristics.
If the magnitude of reflection is greater than the magnitude of transmission, there will minimum to no transmission.
'SZmax(1),Zmax(1)'= 'S11'
'SZmax(1),Zmin(1)'= 'S12'
'SZmin(1),Zmax(1)'= 'S21'
'SZmin(1),Zmin(1)'= 'S22'