We explore a holographic superconductor model in which a real scalar field is nonminimally coupled to a gauge field. We consider several types of the nonminimal coupling function h(ψ) including exponential, hyperbolic (cosh), power-law, and fractional forms. We investigate the influences of the nonminimal coupling parameter α on condensation, critical temperature, and conductivity. We can categorize our results in two groups. In the first group, conductor/superconductor phase transition is easier to occur for larger values of α, while in the second group stronger effects of the nonminimal coupling makes the formation of scalar hair harder. Although the real and imaginary parts of conductivity are impressed by different forms of h(ψ), they follow some universal behaviors such as connecting with each other through Kramers–Kronig relation in ω → 0 limit or the appearance of gap frequency at low temperatures around ωg ∼ 8 Tc, which shifts to larger values by increasing the strength of α. Among all forms of h(ψ) we observe that h(ψ) = 1 + αψ2 gives us better information in wide range of nonminimal coupling constant and temperature. Choosing the best form of h(ψ), we construct a family of solutions for holographic conductor/superconductor phase transitions to discover the effect of the hyperscaling violation when the gauge and scalar fields are nonminimally coupled. we find that the critical temperature increases for higher effects of hyperscaling violation θ and nonminimal coupling constant α. By increasing these two parameters, we obtain lower values of condensation which means that conductor/superconductor phase transition will acquire easier. Furthermore, we understand that the hyperscaling violation affects the conductivity σ of the holographic superconductors and changes the expected relation in the gap frequency. Some universal behaviors like infinite DC conductivity are observed. In addition, we consider a five-dimensional Gauss–Bonnet (GB) black hole with a flat horizon. We find out that the critical temperature decreases for larger values of GB coupling constant, λ, or smaller values of nonminimal coupling constant, α, which means that the condensation is harder to form. Moreover, we study the electrical conductivity in the holographic setup. We observe that the gap frequency shifts to larger values for stronger λ, and becomes flat by increasing α.