Epileptic seizures are caused by a disturbance in the electrical activity of the brain and classified as many different types of epileptic seizures based on the characteristics of EEG and other parameters. Till now research has been conducted to classify EEG as seizure and non-seizures, but the classification of seizure types has not been explored. Thus, in this paper, we have proposed the 8-class classification problem in order to classify different seizure types using convolutional neural networks (CNN). This research study suggests a CNN based framework for classification of epileptic seizure types that include simple partial, complex partial, focal non-specific, generalized non-specific, absence, tonic, and tonic-clonic, and non-seizures. EEG time series was converted into spectrogram stacks and used as input for CNN. To the best of authors knowledge, ours is the very first study that classified the seizures types using the computational algorithm. The four CNN models, namely AlexNet, VGG16, VGG19, and basic CNN model was applied to study the performance of 8-class classification problem. The proposed study showed a classification accuracy of 84.06%, 79.71%, 76.81%, and 82.14% using AlexNet, VGG16, VGG19 and basic CNN models respectively. The experimental results suggest that the proposed framework could be helpful to the neurology community for recognition of seizures types.