I've been trying to lose weight but I have been struggling.
You are referring to the reduction of total body mass? You should try the ketogenic diet!
I am not familiar with the ketogenic diet.  What is that?
The diet forces your body to burn fats rather than carbs, which lowers your body weight.
Does that diet require me to eat certain kinds of foods and avoid some foods?
Yes you would need to limit your carbohydrate consumption, mostly fats and adequate proteins.
That sounds like it would be difficult to come up with a plan for eating since I love bread so much.
Yeah you would definetely need to cut out bread, intentional weight loss is referred to as slimming.
Are there other diets that are as effective?
Any form of dieting will result in weight loss if you stick to it, weight loss can also lead to a reduction in hypertension.